修复docker版无法启用单用户模式的问题

This commit is contained in:
Kwow 2022-08-20 11:24:03 +08:00 committed by GitHub
parent 1a8d77d850
commit 0d0d58ef1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,8 @@ def main():
def sign(): def sign():
log.info("Starting signing") log.info("Starting signing")
multi = env["MULTI"] multi = env["MULTI"].upper()
if multi: if multi == 'TRUE':
os.system("python3 ./main_multi.py autorun") os.system("python3 ./main_multi.py autorun")
else: else:
os.system("python3 ./main.py") os.system("python3 ./main.py")