aheskandani commited on
Commit
352ff52
1 Parent(s): 352eac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def start(update: Update, context: CallbackContext):
21
  def send_captcha(update: Update, context: CallbackContext):
22
  ''' Entry point of conversation this gives buttons to user'''
23
  chat_id = update.effective_chat.id
24
- url =https://pooya.um.ac.ir/gateway/SecurityImage/ShowSecurityImage.php?rand=1485178863&rand2=S3VNRFk3Q1h3dHFNQTlURVN4R0IvSE8zYUpPTlN4RzljYmxNdWg2WWpqOD0=0='
25
  urllib.request.urlretrieve(url, 'captcha.png')
26
  print('Downloaded!')
27
  context.bot.send_photo(chat_id, photo=open('captcha.png', 'rb'))
 
21
  def send_captcha(update: Update, context: CallbackContext):
22
  ''' Entry point of conversation this gives buttons to user'''
23
  chat_id = update.effective_chat.id
24
+ url = 'https://pooya.um.ac.ir/gateway/SecurityImage/ShowSecurityImage.php?rand=1685017367&rand2=Wm1xc2xiUmdaODFCOCttb1Y3ZkNGRDJIeUtzR2JObk4veGlwa2hLSTBaOD0='
25
  urllib.request.urlretrieve(url, 'captcha.png')
26
  print('Downloaded!')
27
  context.bot.send_photo(chat_id, photo=open('captcha.png', 'rb'))