nerrixde / DSBApi

API für die in Deutschland verbreitete DSBmobile App für Vertretungspläne an Bildungseinrichtungen
GNU General Public License v3.0
35 stars 6 forks source link

PR to remove API breaking TODO by implementing OCR plus small None check #21

Closed LordBurtz closed 2 years ago

LordBurtz commented 2 years ago

This pull request implements the OCR reader for images, by removing a thrown Exception which did lead to crashes whenever fetch_entries() was called additionally added None check before returning the results so the returned array has not None entries (which are kinda pointless)

nerrixde commented 2 years ago

looking at the code, this should work. I have no credentials anymore so fingers crossed