From ae83b9e652b45358b0a4f62a0aa2f771a6ec1d43 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Thu, 10 Aug 2023 15:20:40 -0500 Subject: [PATCH] fix: None flag --- ReVancedBuilder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReVancedBuilder.py b/ReVancedBuilder.py index e915e81..d39bc20 100755 --- a/ReVancedBuilder.py +++ b/ReVancedBuilder.py @@ -16,7 +16,7 @@ import subprocess # TODO: README # TODO: PATCHES_GUIDE.md (maybe delete it?) -# TODO: Lockfile +# TODO: Install using pip # Update the ReVanced tools, if needed def update_tools(appstate): @@ -122,7 +122,7 @@ try: except: 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) appstate['flag'] = flag