Merge pull request #195 from MankinChung/master

修复docker版无法启用单用户模式的问题
This commit is contained in:
Womsxd 2022-08-20 13:18:55 +08:00 committed by GitHub
commit 3d3200a854
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")