Skip to content

Instantly share code, notes, and snippets.

@MostAwesomeDude
Created March 31, 2011 10:21
Show Gist options
  • Save MostAwesomeDude/896149 to your computer and use it in GitHub Desktop.
Save MostAwesomeDude/896149 to your computer and use it in GitHub Desktop.
diff --git a/creepy/creepymap.py b/creepy/creepymap.py
index 2baf278..5bb3033 100644
--- a/creepy/creepymap.py
+++ b/creepy/creepymap.py
@@ -86,6 +86,7 @@ class CreepyUI(gtk.Window):
tmp_conf = ConfigObj(infile=config_file)
tmp_conf.create_empty=True
tmp_conf.write_empty_values=True
+ tmp_conf['directories'] = {}
tmp_conf['directories']['img_dir'] = os.path.join(self.CONF_DIR, 'images')
tmp_conf['directories']['cache_dir'] = os.path.join(self.CONF_DIR, 'cache')
tmp_conf['directories']['profilepics_dir'] = os.path.join(self.CONF_DIR, 'images', 'profilepics')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment