Skip to content

Commit

Permalink
feat: fix up session gen
Browse files Browse the repository at this point in the history
  • Loading branch information
xditya committed Dec 21, 2022
1 parent 47bedbc commit 9746b48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/session/ssgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9746b48

Please sign in to comment.