fix: None flag

This commit is contained in:
Sayantan Santra 2023-08-10 15:20:40 -05:00
parent 4f14518166
commit ae83b9e652
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -16,7 +16,7 @@ import subprocess
# TODO: README # TODO: README
# TODO: PATCHES_GUIDE.md (maybe delete it?) # TODO: PATCHES_GUIDE.md (maybe delete it?)
# TODO: Lockfile # TODO: Install using pip
# Update the ReVanced tools, if needed # Update the ReVanced tools, if needed
def update_tools(appstate): def update_tools(appstate):
@ -122,7 +122,7 @@ try:
except: except:
flag = None flag = None
if flag not in ['buildonly', 'checkonly', 'force', 'experimental']: if flag not in ['buildonly', 'checkonly', 'force', 'experimental', None]:
clean_exit(f"Unknown flag: {flag}", appstate) clean_exit(f"Unknown flag: {flag}", appstate)
appstate['flag'] = flag appstate['flag'] = flag