Commit 020122d4 authored by putro's avatar putro

fixed check permissions

parent ff14e0df
......@@ -35,7 +35,7 @@ def OptionsCheck(config):
try:
f = open(os.path.dirname(sys.argv[0]) + "/check", "w")
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()
else:
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