diff --git a/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc b/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc
index 52cfaf3..7abe1f4 100644
Binary files a/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc and b/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc differ
diff --git a/standards/templatetags/counter_tag.py b/standards/templatetags/counter_tag.py
index d704275..c616914 100644
--- a/standards/templatetags/counter_tag.py
+++ b/standards/templatetags/counter_tag.py
@@ -1181,20 +1181,17 @@ def getNCDirInfosURL(request, ncid):
@register.simple_tag
def getAGGroupQuotaData(request):
r = requests.request("PROPFIND", settings.NEXTCLOUD_URL + "remote.php/dav/files/" + request.user.username + "/Agenturdaten", headers={'Content-Type' : 'text/xml', 'Authorization' : "Bearer " + request.user.profile.nc_sid})
- try:
- # IN USE
- split_response = r.text.split("")
- inuse = split_response[1].split("")[0]
-
- # QUOTA
- split_response = r.text.split("")
- quota = split_response[1].split("")[0]
+ # IN USE
+ split_response = r.text.split("")
+ inuse = split_response[1].split("")[0]
+
+ # QUOTA
+ split_response = r.text.split("")
+ quota = split_response[1].split("")[0]
- # PERCENT VALUE
- percent = (100 / int(quota))*int(inuse)
- return [quota, inuse, str(round(percent, 0)).replace(",", ".")]
- except:
- return [0, 0, 0]
+ # PERCENT VALUE
+ percent = (100 / int(quota))*int(inuse)
+ return [quota, inuse, str(round(percent, 0)).replace(",", ".")]