feat: fix up session gen
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user