mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-10 19:38:29 +03:00
Fix forgotten warning name change (cf. 7327a013)
This commit is contained in:
@@ -89,7 +89,7 @@ class _JSONDataclass:
|
||||
'''Convert the object to a JSON string'''
|
||||
|
||||
with warnings.catch_warnings():
|
||||
warnings.filterwarnings(action = 'ignore', category = DeprecatedPropertyAccessWarning)
|
||||
warnings.filterwarnings(action = 'ignore', category = DeprecatedFeatureWarning)
|
||||
out = _json_dataclass_to_dict(self)
|
||||
for key, value in list(out.items()): # Modifying the dict below, so make a copy first
|
||||
if isinstance(value, IntWithGranularity):
|
||||
|
||||
Reference in New Issue
Block a user