mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
SABnzbd-Suite: correction of empty password
This commit is contained in:
parent
bd0d310e13
commit
0b0247cb2a
@ -374,8 +374,12 @@ except Exception,e:
|
||||
|
||||
# CouchPotatoServer start
|
||||
try:
|
||||
#convert password to md5
|
||||
md5pwd = hashlib.md5(pwd).hexdigest()
|
||||
# empty password hack
|
||||
if pwd == '':
|
||||
md5pwd = ''
|
||||
else:
|
||||
#convert password to md5
|
||||
md5pwd = hashlib.md5(str(pwd)).hexdigest()
|
||||
|
||||
# write CouchPotatoServer settings
|
||||
# --------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user