Dont md5 empty password

This commit is contained in:
Ruud committed 2011-12-21 21:43:57 +01:00
1 parent 0f6903ed15
commit 1f4b94f53b
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ class Core(Plugin):
self.removeRestartFile() self.removeRestartFile()
def md5Password(self, value): def md5Password(self, value):
return md5(value) return md5(value) if value else ''
def available(self): def available(self):
return jsonified({ return jsonified({