From e89da06eb807da3d666113be51a4b5797543a568 Mon Sep 17 00:00:00 2001 From: Lonami Date: Sun, 1 Oct 2017 20:22:53 +0200 Subject: [PATCH] Use concatenation instead string format --- Test-Servers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test-Servers.md b/Test-Servers.md index 0085853..79d7fa1 100644 --- a/Test-Servers.md +++ b/Test-Servers.md @@ -15,7 +15,7 @@ Once you're connected, you'll likely need to `.sign_up()`. Remember [anyone can from random import randint dc_id = '2' # Change this to the DC id of the test server you chose -phone = '99966{}{}'.format(dc_id, str(randint(9999)).zfill(4)) +phone = '99966' + dc_id + str(randint(9999)).zfill(4) client.send_code_request(phone) client.sign_up(dc_id * 5, 'Some', 'Name') ```