Skip to content

Commit e816430

Browse files
committed
Fix error formatting to conform with Python <3.14
1 parent 137d891 commit e816430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twitwi/normalizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def grab_extra_meta(source, result, locale=None, source_version: str = "v1"):
206206
result["user_url"] = source["user"]["entities"]["url"]["urls"][0][
207207
"expanded_url"
208208
]
209-
except KeyError, IndexError:
209+
except (KeyError, IndexError):
210210
try:
211211
result["user_url"] = source["user"]["url"]
212212
except KeyError:

0 commit comments

Comments
 (0)