mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
Fix typos
This commit is contained in:
parent
37d5bce11d
commit
08b5d983ea
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ from advlabdb.models import (
|
|||
def importFromFile(filePath):
|
||||
if filePath[-4:] != ".txt":
|
||||
raise DataBaseImportException(
|
||||
"The import file has to be a text file with txt extention (.txt at the end of the filename)!"
|
||||
"The import file has to be a text file with txt extension (.txt at the end of the filename)!"
|
||||
)
|
||||
|
||||
semesters = {}
|
||||
|
@ -78,7 +78,7 @@ def importFromFile(filePath):
|
|||
elif tableName == "Appointment":
|
||||
activeDict = appointments
|
||||
else:
|
||||
raise DataBaseImportException(f"{tableName} is not a valide table name!")
|
||||
raise DataBaseImportException(f"{tableName} is not a valid table name!")
|
||||
|
||||
readHeader = True
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue