Closed J-O-S-H-L closed 2 weeks ago
In this line of code: https://github.com/friedrich-de/TMW_Bot/blob/b49104308dbf6fc976ff2889083a37e18e547c93/cogs/immersion_stats.py#L75 a vestigular function input was not cleaned up properly (by me). This mis-match of positional arguments means that immerison_type is always using the default value None. This makes the process_bar_data function follow the else path and show points_receivedinstead of the desired ammount_logged.
None
process_bar_data
points_received
ammount_logged
In this example image: the graph should show 2, 3, 3 episodes logged, but the points are showing
Looks good, good work!
In this line of code: https://github.com/friedrich-de/TMW_Bot/blob/b49104308dbf6fc976ff2889083a37e18e547c93/cogs/immersion_stats.py#L75 a vestigular function input was not cleaned up properly (by me). This mis-match of positional arguments means that immerison_type is always using the default value
None
. This makes theprocess_bar_data
function follow the else path and showpoints_received
instead of the desiredammount_logged
.Example
In this example image: the graph should show 2, 3, 3 episodes logged, but the points are showing