mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-21 18:15:50 +00:00
add flush on print
This commit is contained in:
@@ -1746,7 +1746,7 @@ def print_tg_info():
|
|||||||
msg = "The default secret {} is used, this is not recommended".format(secret)
|
msg = "The default secret {} is used, this is not recommended".format(secret)
|
||||||
print(msg, flush=True)
|
print(msg, flush=True)
|
||||||
random_secret = "".join(random.choice("0123456789abcdef") for i in range(32))
|
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, flush=True)
|
||||||
print_default_warning = True
|
print_default_warning = True
|
||||||
|
|
||||||
if config.TLS_DOMAIN == "www.google.com":
|
if config.TLS_DOMAIN == "www.google.com":
|
||||||
|
|||||||
Reference in New Issue
Block a user