From 1f4b94f53b203f5e334aadea05bad7a8a4f66132 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 18 Dec 2011 21:40:34 +0100 Subject: [PATCH] Dont md5 empty password --- couchpotato/core/_base/_core/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/_base/_core/main.py b/couchpotato/core/_base/_core/main.py index 179aa2a9..538495a8 100644 --- a/couchpotato/core/_base/_core/main.py +++ b/couchpotato/core/_base/_core/main.py @@ -33,7 +33,7 @@ class Core(Plugin): self.removeRestartFile() def md5Password(self, value): - return md5(value) + return md5(value) if value else '' def available(self): return jsonified({