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:
parent
232a3daa3a
commit
d4636c5831
5
alas.py
5
alas.py
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user