HbScorez is a web application, which processes handball game reports of diverse handball associations, districts, and leagues. It analyzes the player scores and displays the statistics and rankings.
Fourth Divisions used to be listed as districts in related Associations.
Now the Fourth Division Leagues are only listed directly in the Fourth Division Associations without visible District.
The District "BWOL" used to be listed the Asscociaton HVW.
Now it is only visible in the dedicated Association HBW.
Therefore importing Fourth Divisions is not possible: setup -a 3 -d 4 -s 2018 -l 35068 -> no Districs and Leagues found.
Also the Navigation should be updated to resemble this relation, e.g. like in the new H4A-Portal.
Hey,
i have some problems with the import_scores.py file. The script will crash if the report folder is missing at line 91.
I solve the problem by adding the following line of code above. os.makedirs(os.path.dirname(game.report_path()), exist_ok=True)
Hey,
all first I want to thank you for your great Job.
I also know that you want to use Redmine (I don't know why), but here it is easier to connect this issue to code.
I think in the code below is a little bug, since the last update. I get follow exception: "TypeError: 'Player' object is not iterable".
The fix is to remove the call for the first array element.
I came across this when I want to change the Team based "Torjäger" list to display also Player with zero goals. (Maybe this is also a nice Feature =) )
s. Anzahl der Spiele für die aktuelle Saison 23/24 bei https://hbscorez.de/spieler/414186/.
Hier dürften (Stand heute 24.10.23) lediglich 5 Spiele stehen, wird aber die Variable für die Anzahl der geworfenen Tore verwendet:
You may contribute to this Project using any IDE, Editor or Terminal you like, as long as your modifications obey the conventions defined by the [Style Guide for Python Code (PEP8)](https://www.python.org/dev/peps/pep-0008/).
The following command will clean your code accordingly: `pipenv run autopep8`
Also make sure to check messages from the following commands before proposing: