From c0dfe4b2bf3bdb3f86f98f9cc114356b7a6a6004 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Thu, 10 Oct 2013 22:11:25 +0000 Subject: Save configuration in the deepest config file --- diff --git a/sugar_network/toolkit/options.py b/sugar_network/toolkit/options.py index 78dd8ea..d549dfa 100644 --- a/sugar_network/toolkit/options.py +++ b/sugar_network/toolkit/options.py @@ -326,8 +326,7 @@ class Option(object): Option._parser = ConfigParser() def load_config(path): - if Option._config_to_save is None and \ - os.access(dirname(path), os.W_OK): + if os.access(dirname(path), os.W_OK): Option._config_to_save = path if not exists(path): return -- cgit v0.9.1