1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Opt: Hide github_token in logs

This commit is contained in:
whoamikyo 2020-06-29 15:05:29 -03:00
parent 232a3daa3a
commit d4636c5831

View File

@ -72,7 +72,10 @@ class AzurLaneAutoScript:
def emulator(self):
for key, value in self.config.config['Emulator'].items():
print(f'{key} = {value}')
if key == 'github_token':
print(f'{key} = {"<sensitive_infomation>"}')
else:
print(f'{key} = {value}')
logger.hr('Emulator saved')
self.update_check()