From c6e7c2156545249862dc5bd8f2488339273394cd Mon Sep 17 00:00:00 2001 From: Paul Nameless Date: Thu, 7 May 2020 17:17:42 +0800 Subject: [PATCH] Change config option: login->phone --- tg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg/main.py b/tg/main.py index c131a29..8443285 100644 --- a/tg/main.py +++ b/tg/main.py @@ -53,7 +53,7 @@ def main(): tg = TelegramApi( api_id=cfg["api_id"], api_hash=cfg["api_hash"], - phone=cfg["login"], + phone=cfg["phone"], database_encryption_key=cfg["enc_key"], files_directory=cfg.get("files", config.DEFAULT_FILES), tdlib_verbosity=cfg.get("tdlib_verbosity", 0),