From be5e12e1e49fbc191a214d6cbb22fee85a4667df Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 15 May 2009 17:48:03 +0000 Subject: [PATCH] Have authmanager return ints instead of strings for the auth level --- deluge/core/authmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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