Skip to content
Snippets Groups Projects
Commit c9d50a94 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

plugin system. checking the type of stored data. Fix #7220

parent 8995c231
No related branches found
No related tags found
No related merge requests found
......@@ -259,6 +259,8 @@ class GajimPluginConfig():
s = shelve.open(self.FILE_PATH)
for (k, v) in s.iteritems():
self.data[k] = v
if not isinstance(self.data, dict):
raise GajimPluginException
s.close()
self.save()
except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment