[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Initialise the scheduler directory
commit e8ac20f398a36c155317d963d039647fa358fb94
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
Date: Tue Jul 26 21:38:52 2016 +0200
Initialise the scheduler directory
---
ooni/settings.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ooni/settings.py b/ooni/settings.py
index 632dbe4..36670ac 100644
--- a/ooni/settings.py
+++ b/ooni/settings.py
@@ -102,6 +102,8 @@ class OConfig(object):
self.inputs_directory = os.path.join(self.ooni_home, 'inputs')
self.scheduler_directory = os.path.join(self.ooni_home, 'scheduler')
+ if not os.path.exists(self.scheduler_directory):
+ os.mkdir(self.scheduler_directory)
if self.advanced.decks_dir:
self.decks_directory = self.advanced.decks_dir
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits