developer28 commited on
Commit
a769d4b
·
verified ·
1 Parent(s): a6273c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -257,7 +257,7 @@ def process_cookies_file(cookies_file):
257
  temp_cookies_path = tempfile.mktemp(suffix='.txt')
258
 
259
  # Copy the uploaded file to temp location
260
- shutil.copy2(cookies_file.name, temp_cookies_path)
261
 
262
  return temp_cookies_path
263
  except Exception as e:
 
257
  temp_cookies_path = tempfile.mktemp(suffix='.txt')
258
 
259
  # Copy the uploaded file to temp location
260
+ shutil.copy2(cookies_file, temp_cookies_path)
261
 
262
  return temp_cookies_path
263
  except Exception as e: