diff options
Diffstat (limited to 'monitor/josef_monitor.py')
-rwxr-xr-x | monitor/josef_monitor.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py index 2812c37..4f03c73 100755 --- a/monitor/josef_monitor.py +++ b/monitor/josef_monitor.py @@ -1,5 +1,10 @@ #!/usr/bin/python -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- + +# Selected dependencies +# python-dev (apt) +# pycrypto (pip) +# leveldb (pip) import time import datetime @@ -18,6 +23,9 @@ else: print "Config file not found!" sys.exit() +if not os.path.exists(OUTPUT_DIR): + os.makedirs(OUTPUT_DIR) + DB = None parser = argparse.ArgumentParser(description="") |