Merge pull request 'fix: opravit chybu s burzou' (#5) from burzafix into main

Reviewed-on: #5
This commit is contained in:
Matyáš Caras 2022-12-14 18:37:38 +00:00
commit d098965883
3 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,5 @@
## 1.1.1
- Opravit problém s burzou
## 1.1.0-alpha.1 ## 1.1.0-alpha.1
- Experimentální podpora pro SPŠEI Ostrava - Experimentální podpora pro SPŠEI Ostrava
- Hezčí kód - Hezčí kód

View file

@ -326,7 +326,7 @@ class Canteen {
r"""db\/dbProcessOrder\.jsp.+?type=((plusburza)|(minusburza)).+?(?=')""") r"""db\/dbProcessOrder\.jsp.+?type=((plusburza)|(minusburza)).+?(?=')""")
.firstMatch(o); .firstMatch(o);
if (match != null) { if (match != null) {
burzaUrl = match.group(1)!.replaceAll("amp;", ""); burzaUrl = match.group(0)!.replaceAll("amp;", "");
} }
} }

View file

@ -1,9 +1,8 @@
name: canteenlib name: canteenlib
description: Library for communication with the czech canteen food ordering system iCanteen description: Library for communication with the czech canteen food ordering system iCanteen
version: 1.1.0-alpha.1 version: 1.1.1
repository: 'https://github.com/hernikplays/canteenlib' repository: 'https://git.mnau.xyz/hernik/canteenlib'
issue_tracker: 'https://github.com/hernikplays/canteenlib/issues' issue_tracker: 'https://git.mnau.xyz/hernik/canteenlib/issues'
documentation: 'https://docs.hernikplays.cz'
environment: environment:
sdk: '>=2.16.1 <3.0.0' sdk: '>=2.16.1 <3.0.0'