diff --git a/eve_glue/location_type.py b/eve_glue/location_type.py index ecfb016..3aeb4bb 100644 --- a/eve_glue/location_type.py +++ b/eve_glue/location_type.py @@ -6,6 +6,6 @@ def resolve_location_type_enum(location_type_id): if location_type_id <= 10000: return "solar_system" - if (location_type_id >= 60000000) and (location_type_id < 64000000): + if 60000000 <= location_type_id < 64000000: return "station" return "other" diff --git a/eve_glue/notification_type.py b/eve_glue/notification_type.py index 551bd10..b4732df 100644 --- a/eve_glue/notification_type.py +++ b/eve_glue/notification_type.py @@ -199,3 +199,13 @@ class NotificationTypeEnum(enum.Enum): "StructureItemsMovedToSafety": 190, }, ) + + +NotificationTypeEnumV3 = new_from_enum( # pylint: disable=invalid-name + "NotificationTypeEnumV3", + NotificationTypeEnumV2, + add={ + "StructuresJobsPaused": 210, + "StructuresJobsCancelled": 211, + } +)