diff --git a/deluge/core/authmanager.py b/deluge/core/authmanager.py index 027047b89..b8295a25f 100644 --- a/deluge/core/authmanager.py +++ b/deluge/core/authmanager.py @@ -71,7 +71,7 @@ class AuthManager(component.Component): if self.__auth[username][0] == password: # Return the users auth level - return self.__auth[username][1] + return int(self.__auth[username][1]) return 0