Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ Section Order:

<!-- Your changes go here -->

### Fixed

- Class 'Iterable' does not define '__sub__', so the '-' operator cannot be used on
its instances

## [4.1.0] - 2026-05-19

### Changed
Expand Down
12 changes: 6 additions & 6 deletions sovtimer/locale/django.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: AA Sov Timer 4.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
"POT-Creation-Date: 2026-05-19 16:49+0200\n"
"POT-Creation-Date: 2026-05-21 19:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -35,23 +35,23 @@ msgstr ""
msgid "Alliances"
msgstr ""

#: sovtimer/models.py:160
#: sovtimer/models.py:161
msgid "Sovereignty structure"
msgstr ""

#: sovtimer/models.py:161
#: sovtimer/models.py:162
msgid "Sovereignty structures"
msgstr ""

#: sovtimer/models.py:241
#: sovtimer/models.py:242
msgid "Sov Hub defense"
msgstr ""

#: sovtimer/models.py:269
#: sovtimer/models.py:270
msgid "Sovereignty campaign"
msgstr ""

#: sovtimer/models.py:270
#: sovtimer/models.py:271
msgid "Sovereignty campaigns"
msgstr ""

Expand Down
3 changes: 2 additions & 1 deletion sovtimer/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def bulk_get_or_create_from_esi(
existing_alliance_ids = set(
existing_alliances.values_list("alliance_id", flat=True)
)
alliances_to_create = alliance_ids - existing_alliance_ids

alliances_to_create = set(alliance_ids) - existing_alliance_ids

# Create a list of new Alliance instances to be created in bulk
new_alliances = []
Expand Down
Loading