[ooni-probe/master] Add section before setting it

3 Jan
2015
3 Jan
'15
3:05 p.m.
commit cab06659f59d11ceb968b6afa685665ff0ab0c88 Author: Arturo Filastò <art@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:
3821
Age (days ago)
3821
Last active (days ago)
0 comments
1 participants
participants (1)
-
art@torproject.org