mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-30 00:13:38 +00:00
e56303798c
Initial SickGear for Python 3.
18 lines
281 B
Python
Executable file
18 lines
281 B
Python
Executable file
import sys
|
|
|
|
print('Args:', sys.argv)
|
|
|
|
if 7 != len(sys.argv):
|
|
print('ERROR')
|
|
exit()
|
|
else:
|
|
try:
|
|
int(sys.argv[3])
|
|
int(sys.argv[4])
|
|
int(sys.argv[5])
|
|
except Exception as e:
|
|
print(e)
|
|
print('ERROR')
|
|
exit()
|
|
|
|
print('SUCCESS')
|