Skip to content

Commit

Permalink
Merge branch 'next' into razzia-overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
krestenlaust authored Dec 4, 2023
2 parents 4c57541 + 537c5e5 commit 24b7976
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file added media/stregsystem/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ Django==2.2.28
Pillow==8.3.2
Coverage==4.4.1
pytz==2021.3
regex==2017.07.28
freezegun==0.3.15
Django-Select2==5.11.1
django-debug-toolbar==1.11.1
Expand Down
4 changes: 2 additions & 2 deletions stregsystem/parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import regex
import re


class QuickBuyError(Exception):
Expand All @@ -11,7 +11,7 @@ class QuickBuyParseError(Exception):
pass


_item_matcher = regex.compile(r'(?V1)(?P<productId>\d+)(?::(?P<count>\d+))?$')
_item_matcher = re.compile(r'(?P<productId>\d+)(?::(?P<count>\d+))?$')


def get_token_indexes(string, start_index):
Expand Down
2 changes: 1 addition & 1 deletion stregsystem/static/stregsystem/snow.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function SpawnSnowflake () {
function SetBodyChristmasStyle() {
const bodyStyle = document.body.style;
bodyStyle.color = "white";
bodyStyle.backgroundImage = "url(\"" + media_url + "stregsystem/background.jpg\")";
bodyStyle.backgroundImage = "url(\"" + media_url + "stregsystem/background.png\")";
bodyStyle.backgroundRepeat = "repeat-x";
bodyStyle.backgroundSize = "auto 100%";
bodyStyle.padding = "0";
Expand Down

0 comments on commit 24b7976

Please sign in to comment.