Skip to content
Snippets Groups Projects
Commit 584c1a02 authored by Dicson's avatar Dicson
Browse files

fix previos commit

parent 57264bb6
No related branches found
No related tags found
No related merge requests found
......@@ -234,6 +234,9 @@ def __iter__(self):
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 @@ def save(self):
@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