add types
This commit is contained in:
parent
ad351e594a
commit
fb16c59312
6
main.py
6
main.py
|
@ -1,4 +1,3 @@
|
||||||
import pathlib
|
|
||||||
import sys
|
import sys
|
||||||
from sys import platform
|
from sys import platform
|
||||||
|
|
||||||
|
@ -7,6 +6,7 @@ if platform != "linux":
|
||||||
input()
|
input()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
import pathlib
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
import pretty_errors
|
import pretty_errors
|
||||||
from colorama import Fore, Back, Style, init
|
from colorama import Fore, Back, Style, init
|
||||||
|
@ -37,8 +37,8 @@ parser.add_argument(
|
||||||
default="config.yaml",
|
default="config.yaml",
|
||||||
)
|
)
|
||||||
parser.add_argument("--proxy", "-p", help="Path to the proxy file", type=pathlib.Path)
|
parser.add_argument("--proxy", "-p", help="Path to the proxy file", type=pathlib.Path)
|
||||||
parser.add_argument("--rtc_min", help="")
|
parser.add_argument("--rtc_min", help="", type=int)
|
||||||
parser.add_argument("--rtc_max", help="")
|
parser.add_argument("--rtc_max", help="", type=int)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
|
Reference in a new issue