[tor-commits] [ooni-probe/master] Add section before setting it
art at torproject.org
art at torproject.org
Sat Jan 3 15:05:13 UTC 2015
commit cab06659f59d11ceb968b6afa685665ff0ab0c88
Author: Arturo Filastò <art at fuffa.org>
Date: Thu Nov 13 12:49:48 2014 +0100
Add section before setting it
---
setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.py b/setup.py
index 1e67c1d..7b46764 100644
--- a/setup.py
+++ b/setup.py
@@ -44,6 +44,7 @@ class install(_st_install):
]
)
settings = SafeConfigParser()
+ settings.add_section("directories")
settings.set("directories", "data_dir",
os.path.join(share_path, "ooni"))
with open("ooni/settings.ini", "w+") as fp:
More information about the tor-commits
mailing list