prevent traceback

This commit is contained in:
Denis Fomin 2011-10-11 22:27:41 +03:00
parent 572248b077
commit 71aeb800da
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ class GajimPluginConfig():
self.FILE_PATH = os.path.join(gajim.PLUGINS_CONFIG_DIR,
self.plugin.short_name).decode('utf-8').encode(
locale.getpreferredencoding())
self.data = None
self.data = {}
@log_calls('GajimPluginConfig')
def __getitem__(self, key):