mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-08 09:12:43 +00:00
Add shebang
This commit is contained in:
parent
5e61f833e6
commit
8d2460cf73
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
import sys
|
import sys
|
||||||
from typing import Any, Optional
|
from typing import Any, Optional
|
||||||
import xmlrpc.client
|
import xmlrpc.client
|
||||||
@ -752,4 +753,6 @@ if __name__ == "__main__":
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if args.command == "sync" and args.exclude:
|
if args.command == "sync" and args.exclude:
|
||||||
args.excludes = [re.compile(i) for i in args.exclude]
|
args.excludes = [re.compile(i) for i in args.exclude]
|
||||||
|
else:
|
||||||
|
args.excludes = []
|
||||||
main(args)
|
main(args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user