__Init__() Missing 1 required positional argument 'Password'
olim217 opened this issue · 0 comments
olim217 commented
So ive been encountering this issue lately with Pyupdater on Windows Py3.8, My Previous versions of the program are still working fine with the exact same code below. Ive had this issue Twice now where some versions dont autoupdate, the problem remedied itself with no changes to the code but now its happening again.
Anybody have a solution to the issue?
`def check_update():
try:
client = Client(ClientConfig())
client.refresh()
app_update = client.update_check(APP_NAME, VERSION)
if app_update == None:
pass
else:
print(Fore.RESET + '[BOT]' + Fore.GREEN + ' Update Required! Downloading Now...')
app_update.download()
if app_update.is_downloaded():
print(Fore.RESET + '[BOT]' + Fore.GREEN + ' Successfully Updated! Restarting Now...')
time.sleep(5)
app_update.extract_restart()
else:
print(Fore.RESET + '[BOT]' + Fore.RED + ' Error Downloading New Update - Please Retry.')
except:
traceback.print_exc()
print(Fore.RESET + '[BOT]' + Fore.RED + ' Failed Checking For New Updates - Please Retry.\n')`