mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-10-23 17:47:21 +02:00
add the ability to use const test phone number
This commit is contained in:
parent
e3996d900c
commit
348f358610
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ async def track_mtproto_methods():
|
|||
|
||||
test_dc = 2
|
||||
test_phone_prefix = '99966'
|
||||
test_phone_suffix = random.randint(1000, 9999)
|
||||
test_phone_suffix = os.environ.get('TELEGRAM_TEST_PHONE_SUFFIX', random.randint(1000, 9999))
|
||||
test_phone_number = f'{test_phone_prefix}{test_dc}{test_phone_suffix}'
|
||||
test_phone_code = str(test_dc) * 5
|
||||
|
||||
|
|
Loading…
Reference in a new issue