Skip to content
Snippets Groups Projects
Commit 572248b0 authored by Dicson's avatar Dicson
Browse files

fix previos commit

parent c0330a86
No related branches found
No related tags found
No related merge requests found
......@@ -234,6 +234,9 @@ class GajimPluginConfig():
def keys(self):
return self.data.keys()
def items(self):
return self.data.items()
@log_calls('GajimPluginConfig')
def save(self):
fd = open(self.FILE_PATH, 'wb')
......@@ -242,7 +245,7 @@ class GajimPluginConfig():
@log_calls('GajimPluginConfig')
def load(self):
if os.path.isfile('qwe'):
if os.path.isfile(self.FILE_PATH):
fd = open(self.FILE_PATH, 'rb')
try:
self.data = cPickle.load(fd)
......
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