mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
357 B
22 lines
357 B
3 years ago
|
# coding:utf-8
|
||
|
|
||
|
import sys
|
||
|
import io
|
||
|
import os
|
||
|
import time
|
||
|
import json
|
||
|
|
||
|
|
||
|
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()
|