Author: andar
Revision: 5269
Log:
Have authmanager return ints instead of strings for the auth level
Diff:
Modified: trunk/deluge/core/authmanager.py
===================================================================
--- trunk/deluge/core/authmanager.py 2009-05-14 23:14:09 UTC (rev 5268)
+++ trunk/deluge/core/authmanager.py 2009-05-15 17:48:03 UTC (rev 5269)
@@ -71,7 +71,7 @@
if self.__auth[username][0] == password:
# Return the users auth level
- return self.__auth[username][1]
+ return int(self.__auth[username][1])
return 0
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---