From cdc65a037bd5f238da78887c905850347d5589bb Mon Sep 17 00:00:00 2001 From: Ziktofel Date: Thu, 14 Mar 2024 16:22:31 +0100 Subject: [PATCH] Cleanup --- WebHostLib/static/assets/{sc2wolTracker.js => sc2Tracker.js} | 0 .../static/styles/{sc2wolTracker.css => sc2Tracker.css} | 0 ...Starcraft2WingsOfLiberty.html => tracker__Starcraft2.html} | 4 ++-- WebHostLib/tracker.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename WebHostLib/static/assets/{sc2wolTracker.js => sc2Tracker.js} (100%) rename WebHostLib/static/styles/{sc2wolTracker.css => sc2Tracker.css} (100%) rename WebHostLib/templates/{tracker__Starcraft2WingsOfLiberty.html => tracker__Starcraft2.html} (99%) diff --git a/WebHostLib/static/assets/sc2wolTracker.js b/WebHostLib/static/assets/sc2Tracker.js similarity index 100% rename from WebHostLib/static/assets/sc2wolTracker.js rename to WebHostLib/static/assets/sc2Tracker.js diff --git a/WebHostLib/static/styles/sc2wolTracker.css b/WebHostLib/static/styles/sc2Tracker.css similarity index 100% rename from WebHostLib/static/styles/sc2wolTracker.css rename to WebHostLib/static/styles/sc2Tracker.css diff --git a/WebHostLib/templates/tracker__Starcraft2WingsOfLiberty.html b/WebHostLib/templates/tracker__Starcraft2.html similarity index 99% rename from WebHostLib/templates/tracker__Starcraft2WingsOfLiberty.html rename to WebHostLib/templates/tracker__Starcraft2.html index bc3abd5bad89..b4252df2504d 100644 --- a/WebHostLib/templates/tracker__Starcraft2WingsOfLiberty.html +++ b/WebHostLib/templates/tracker__Starcraft2.html @@ -36,8 +36,8 @@ {{ player_name }}'s Tracker - - + + diff --git a/WebHostLib/tracker.py b/WebHostLib/tracker.py index d050d3200044..c2fdab0ed074 100644 --- a/WebHostLib/tracker.py +++ b/WebHostLib/tracker.py @@ -2649,7 +2649,7 @@ def render_Starcraft2_tracker(tracker_data: TrackerData, team: int, player: int) lookup_any_item_id_to_name = tracker_data.item_id_to_name["Starcraft 2"] return render_template( - "tracker__Starcraft2WingsOfLiberty.html", + "tracker__Starcraft2.html", inventory=inventory, icons=icons, acquired_items={lookup_any_item_id_to_name[id] for id, count in inventory.items() if count > 0},