diff --git a/weboob/capabilities/translate.py b/weboob/capabilities/translate.py index 470d29f2..e90b0bba 100644 --- a/weboob/capabilities/translate.py +++ b/weboob/capabilities/translate.py @@ -30,7 +30,7 @@ class LanguageNotSupported(UserError): """ def __init__(self, msg='language is not supported'): - UserError.__init__(self,msg) + UserError.__init__(self, msg) class TranslationFail(UserError): diff --git a/weboob/core/repositories.py b/weboob/core/repositories.py index 6fe96974..acaf9071 100644 --- a/weboob/core/repositories.py +++ b/weboob/core/repositories.py @@ -692,7 +692,7 @@ class Keyring(object): def exists(self): if not os.path.exists(self.vpath): - return False + return False if os.path.exists(self.path): # Check the file is not empty. # This is because there was a bug creating empty keyring files.