Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
1b4e856d by Yann Leboulanger at 2017-09-13T14:25:36+02:00
fix reading secrets file

- - - - -


1 changed file:

- gajim/secrets.py


Changes:

=====================================
gajim/secrets.py
=====================================
--- a/gajim/secrets.py
+++ b/gajim/secrets.py
@@ -106,7 +106,7 @@ def load_secrets(filename):
                     if type(secret) is str:
                         secrets.srs[acct][jid].remove((secret, verified))
                         
secrets.srs[acct][jid].append((secret.encode('latin1'), verified))
-    except (KeyError, EOFError):
+    except (KeyError, EOFError, ImportError):
         f.close()
         secrets = Secrets(filename)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/1b4e856d80aa00c20cc043ec825dd46010d4b44b

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/1b4e856d80aa00c20cc043ec825dd46010d4b44b
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to