Skip to content

Commit

Permalink
fix: str.low() to str.lower()
Browse files Browse the repository at this point in the history
  • Loading branch information
hlf20010508 committed Sep 21, 2023
1 parent 0624bcb commit a9f4332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def get_filename_from_url(url):
parsed_url = urlparse(url)
captured_value_dict = parse_qs(parsed_url.query)
for item_name in captured_value_dict.keys():
if item_name.low() in file_param_name_list:
if item_name.lower() in file_param_name_list:
name = captured_value_dict[item_name]
break
if not name:
Expand Down

0 comments on commit a9f4332

Please sign in to comment.