Update main.py

This commit is contained in:
gll19920817 2021-12-04 11:22:48 +08:00 committed by GitHub
parent 58d74d473e
commit c890c838ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ import threading
from urllib.parse import urlparse
from scripts import watcher, webdriver
from config.helper import config
if __name__ == '__main__':
if len(sys.argv) == 1 or not urlparse(sys.argv[1]).scheme: