TUM-Dev/eat-api

Add option to cli.py and main.py to parse all canteens at once.

lukasdenk opened this issue · 0 comments

Attention:

Start working on that issue after #60 is merged.

Issue:

See title. I wrote this issue so that the following lines can be removed:

LOC_LIST=( "mensa-arcisstr" "mensa-garching" "mensa-leopoldstr" "mensa-lothstr" \
"mensa-martinsried" "mensa-pasing" "mensa-weihenstephan" "stubistro-arcisstr" "stubistro-goethestr" \
"stubistro-großhadern" "stubistro-rosenheim" "stubistro-schellingstr" "stucafe-adalbertstr" \
"stucafe-akademie-weihenstephan" "stucafe-boltzmannstr" "stucafe-garching" "stucafe-karlstr" "stucafe-pasing" \
"ipp-bistro" "fmi-bistro" "mediziner-mensa" )

The problem is that the canteens are already defined in the Canteen enum. Keeping them on several places is error-prone.