Container commited on
Commit
6fd44c2
·
verified ·
1 Parent(s): 48691a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,11 +30,11 @@ def chrome(url:str=None,wait:int=5,header:str=None):
30
 
31
  driver = webdriver.Chrome(options=options)
32
 
33
- print(unquote(header_list))
34
  try:
35
  if header_list == None:
36
  pass
37
  else:
 
38
  header_array = json.loads(unquote(header_list))
39
  driver.header_overrides = header_array
40
  except ValueError:
 
30
 
31
  driver = webdriver.Chrome(options=options)
32
 
 
33
  try:
34
  if header_list == None:
35
  pass
36
  else:
37
+ # print(unquote(header_list))
38
  header_array = json.loads(unquote(header_list))
39
  driver.header_overrides = header_array
40
  except ValueError: