mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #862 from queeup/updates
SABnzbd-Suite: correction of empty password for CouchPotato V2
This commit is contained in:
commit
a19e5f36dd
@ -374,8 +374,12 @@ except Exception,e:
|
|||||||
|
|
||||||
# CouchPotatoServer start
|
# CouchPotatoServer start
|
||||||
try:
|
try:
|
||||||
#convert password to md5
|
# empty password hack
|
||||||
md5pwd = hashlib.md5(pwd).hexdigest()
|
if pwd == '':
|
||||||
|
md5pwd = ''
|
||||||
|
else:
|
||||||
|
#convert password to md5
|
||||||
|
md5pwd = hashlib.md5(str(pwd)).hexdigest()
|
||||||
|
|
||||||
# write CouchPotatoServer settings
|
# write CouchPotatoServer settings
|
||||||
# --------------------------
|
# --------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user