commit 7218d0ca09911ee513e9b1e07b95d3c9ffcf71e0 Author: aagbsn aagbsn@extc.org Date: Sun Jun 30 17:52:56 2013 +0200
Fix reference to global_options --- ooni/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ooni/settings.py b/ooni/settings.py index 6c8a9a3..077197b 100644 --- a/ooni/settings.py +++ b/ooni/settings.py @@ -40,7 +40,7 @@ class OConfig(object): self.reports_directory = os.path.join(self.ooni_home, 'reports')
if self.global_options.get('configfile'): - config_file = global_options['configfile'] + config_file = self.global_options['configfile'] else: config_file = os.path.join('~', '.ooni', 'ooniprobe.conf') self.config_file = expanduser(config_file)