This commit is contained in:
midoks
2018-11-04 23:20:06 +08:00
parent 350df66aab
commit 1c03243d9a
3 changed files with 16 additions and 16 deletions
+6 -2
View File
@@ -28,8 +28,12 @@ isTask = os.getcwd() + '/tmp/panelTask.pl'
if ~os.path.exists(os.getcwd() + "/tmp"):
os.system('mkdir -p ' + os.getcwd() + "/tmp")
os.system("echo '' > " + logPath)
os.system("echo '' > " + isTask)
if ~os.path.exists(logPath):
os.system("touch " + logPath)
if ~os.path.exists(isTask):
os.system("touch " + isTask)
class MyBad():