Update main.py
This commit is contained in:
parent
d61800b755
commit
58d74d473e
3
main.py
3
main.py
@ -3,7 +3,6 @@ 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:
|
||||
@ -15,4 +14,4 @@ if __name__ == '__main__':
|
||||
|
||||
w = watcher.Watcher(directory=config()['watchdog']['dir'])
|
||||
w.run()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user