Commit 020122d4 authored by putro's avatar putro

fixed check permissions

parent ff14e0df
...@@ -35,7 +35,7 @@ def OptionsCheck(config): ...@@ -35,7 +35,7 @@ def OptionsCheck(config):
try: try:
f = open(os.path.dirname(sys.argv[0]) + "/check", "w") f = open(os.path.dirname(sys.argv[0]) + "/check", "w")
except: except:
print "Error: you cannot write %s, fix permission or launch this script from another directory" % options['path'] + "/" + options['stats-file'] print "Error: you cannot write here, fix permission"
sys.exit() sys.exit()
else: else:
f.close() f.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment