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