mirror of
https://github.com/caronc/apprise-api.git
synced 2025-08-23 12:20:20 +02:00
updated to work with Apprise v1.8.0
This commit is contained in:
@@ -100,7 +100,7 @@ class JSONEncoder(DjangoJSONEncoder):
|
||||
if isinstance(obj, set):
|
||||
return list(obj)
|
||||
|
||||
elif isinstance(obj, apprise.AppriseLocale.LazyTranslation):
|
||||
elif isinstance(obj, apprise.locale.LazyTranslation):
|
||||
return str(obj)
|
||||
|
||||
return super().default(obj)
|
||||
|
Reference in New Issue
Block a user