pull/205/head
midoks 3 years ago
parent f5b056c965
commit e6af6b2062
  1. 12
      plugins/op_waf/t/index.py
  2. 3
      plugins/op_waf/t/test.sh

@ -7,15 +7,13 @@ import time
import json
TEST_URL = "t1.cn"
def run():
print('op lua run ok')
if __name__ == "__main__":
if len(sys.argv) > 1:
action = sys.argv[1]
if action == "remove":
removeBgTask()
elif action == "add":
createBgTask()
elif action == "run":
run()
if action == "run":
run()

@ -2,3 +2,6 @@
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
python3 index.py

Loading…
Cancel
Save