Fixed typo
This commit is contained in:
1 parent
afea12c7c0
commit
e36c8ec3ab
1 file changed
+2
-4
@@ -1,11 +1,9 @@
|
||||
from base64 import b64encode
|
||||
from couchpotato.core.downloaders.base import Downloader
|
||||
from couchpotato.core.helpers.encoding import isInt
|
||||
from couchpotato.core.logger import CPLog
|
||||
import httplib
|
||||
import json
|
||||
import os.path
|
||||
import re
|
||||
|
||||
import urllib2
|
||||
import urllib
|
||||
|
||||
@@ -67,7 +65,7 @@ class SynologyRPC(object):
|
||||
self.sid = response['data']['sid']
|
||||
log.debug( "Sid=%s", self.sid)
|
||||
return response
|
||||
elif username or password:
|
||||
elif self.username or self.password:
|
||||
log.error('User or password missing, not using authentication.')
|
||||
return False
|
||||
|
||||
|
||||
Reference in new issue
Block a user