File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,8 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE): #
179179 None
180180 """
181181 throttle = False
182+ # media_path can be string or list of strings
183+ media_path = [] # Initilize empty list of media paths
182184 try :
183185 if not update .message or not update .message .text :
184186 return
@@ -239,8 +241,6 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE): #
239241 return
240242 debug ("Video is not too long or metadata is not available. Starting download." )
241243
242- # media_path can be string or list of strings
243- media_path = [] # Initilize empty list of media paths
244244 video_path = [] # Initilize empty list of video paths
245245 pic_path = [] # Initilize empty list of picture paths
246246 return_path = download_media (url )
You can’t perform that action at this time.
0 commit comments