feat: fix up session gen

This commit is contained in:
Aditya
2022-12-21 19:57:13 +05:30
committed by GitHub
parent 47bedbcbb6
commit 9746b48e46

View File

@@ -55,7 +55,7 @@ def get_api_id_and_hash():
def telethon_session():
try:
spinner("tele")
import telethon
x = "\bFound an existing installation of Telethon...\nSuccessfully Imported.\n\n"
except ImportError:
print("Installing Telethon...")
@@ -122,6 +122,8 @@ def pyro_session():
print("Installing Pyrogram...")
os.system("pip install pyrogram tgcrypto")
x = "\bDone. Installed and imported Pyrogram."
from pyrogram import Client
clear_screen()
print(ULTROID)
print(x)