aboutsummaryrefslogtreecommitdiff
path: root/tanken.py
Commit message (Collapse)AuthorAgeFilesLines
* [tanken] specify expected ErrorsFlorian Fischer2021-09-091-1/+1
|
* [tanken] remove unused variableFlorian Fischer2021-09-091-1/+0
|
* make formatFlorian Fischer2021-09-091-5/+8
|
* add new car commands and make tanken aware of carsFlorian Fischer2019-06-091-5/+14
| | | | | | | | | | | | | | | Cars are names associated to a service charge. They are stored in the state file in a dict called "cars". Each car has its own balance from which money can be pulled or pushed. Because of this cars and users can't share a name. Service charges are calculated per drive and split among all drivers similar to fuel cost. If a driver is not known by geldschieberbot the recipient of the "tanken" cmd is held accountable and has to collect the service charge manually just like fuel cost. NOTE: This change breaks geldschieberbot if the state file does not contain the field "cars" !!! You have to add it manually !!!
* return error if distance is <= 0Florian Fischer2019-06-091-0/+2
|
* adjust tanken to cents and improve itFlorian Fischer2017-11-091-9/+17
| | | | | | | | geldschieberbot: convert commandline to lower case tanken: fix spelling tanken: do less int conversions tanken: return ints
* fix tanken hopfully the last timeFlorian Fischer2017-11-091-0/+1
|
* add tanken featureFlorian Fischer2017-11-091-0/+25