cosmetic fix

This commit is contained in:
Alexander Bersenev
2019-08-19 04:56:37 +05:00
parent 26e00a7409
commit 5b0ad45cb9

View File

@@ -1744,8 +1744,8 @@ def print_tg_info():
if secret in ["00000000000000000000000000000000", "0123456789abcdef0123456789abcdef"]: if secret in ["00000000000000000000000000000000", "0123456789abcdef0123456789abcdef"]:
msg = "The default secret {} is used, this is not recommended".format(secret) msg = "The default secret {} is used, this is not recommended".format(secret)
random_secret = "".join(random.choice("0123456789abcdef") for i in range(32))
print(msg, flush=True) print(msg, flush=True)
random_secret = "".join(random.choice("0123456789abcdef") for i in range(32))
print("You can use this random secret instead:", random_secret) print("You can use this random secret instead:", random_secret)
print_default_warning = True print_default_warning = True