fix update function args
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ from threading import Thread
|
|||||||
from os import makedirs,path
|
from os import makedirs,path
|
||||||
import json,sys,webbrowser,importlib,tomllib
|
import json,sys,webbrowser,importlib,tomllib
|
||||||
|
|
||||||
def update():
|
def update(*args):
|
||||||
print('checking for updates...')
|
print('checking for updates...')
|
||||||
with open(script_path()+'astrolobott.py','r') as file:
|
with open(script_path()+'astrolobott.py','r') as file:
|
||||||
current_script=file.read()
|
current_script=file.read()
|
||||||
|
|||||||
Reference in New Issue
Block a user