mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-08 10:26:21 +08:00
Opt: Hide github_token in logs
This commit is contained in:
5
alas.py
5
alas.py
@@ -72,7 +72,10 @@ class AzurLaneAutoScript:
|
|||||||
|
|
||||||
def emulator(self):
|
def emulator(self):
|
||||||
for key, value in self.config.config['Emulator'].items():
|
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')
|
logger.hr('Emulator saved')
|
||||||
self.update_check()
|
self.update_check()
|
||||||
|
|||||||
Reference in New Issue
Block a user