mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 12:48:36 -06:00
fix: None flag
This commit is contained in:
parent
4f14518166
commit
ae83b9e652
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue