Change config option: login->phone

This commit is contained in:
Paul Nameless 2020-05-07 17:17:42 +08:00
parent bceaafb2cd
commit c6e7c21565

View file

@ -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),