Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Diese Teilung wird verwendet um bei kombinierten Klasseneinträgen, die Daten f
### Beispiel 1

```py
import dsbapi
import dsbapi as dsbapipy

dsbclient = dsbapipy.DSBApi("benutzername", "passwort")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually this is wrong, not the import

entries = dsbclient.fetch_entries()
Expand All @@ -60,7 +60,7 @@ for s in range(len(entries)):
Schulen sind relativ frei in der Gestaltung Ihrer Datensätze. Daher kann der oben beschriebene Standard wiefolgt überschrieben werden:

```py
import dsbapi
import dsbapi as dsbapipy

ownFields = ['class','lesson','new_subject','room','subject','new_teacher','type','text']

Expand Down
1 change: 0 additions & 1 deletion dsbapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
except:
import Image
import pytesseract
import requests

class DSBApi:
def __init__(self, username, password, tablemapper=['type','class','lesson','subject','room','new_subject','new_teacher','teacher']):
Expand Down