commit e8ac20f398a36c155317d963d039647fa358fb94
Author: Arturo Filastò <art...@filasto.net>
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@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to