THED2 commited on
Commit
6cb1afc
·
verified ·
1 Parent(s): 696c857

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -3
main.py CHANGED
@@ -3,8 +3,7 @@ import subprocess
3
  import shutil
4
  import sys
5
 
6
- # --- HARDCODED TELEGRAM BASE URL OVERRIDE ---
7
- # Yeh system environment variable python-telegram-bot ke default backend endpoint ko badal deta hai
8
  os.environ["TELEGRAM_API_URL"] = "https://api.telegram.org/"
9
  os.environ["LOCAL_BOT_API_URL"] = "https://api.telegram.org/"
10
 
@@ -87,4 +86,4 @@ subprocess.run(
87
  env=os.environ,
88
  stdout=sys.stdout,
89
  stderr=sys.stderr
90
- )
 
3
  import shutil
4
  import sys
5
 
6
+ # Framework ke defaults ko direct routing ke liye ready rakhne ka fallback
 
7
  os.environ["TELEGRAM_API_URL"] = "https://api.telegram.org/"
8
  os.environ["LOCAL_BOT_API_URL"] = "https://api.telegram.org/"
9
 
 
86
  env=os.environ,
87
  stdout=sys.stdout,
88
  stderr=sys.stderr
89
+ )