mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Improve error message
This commit is contained in:
parent
6ea51b1235
commit
ec3664a30a
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ def importFromFile(filePath):
|
|||
|
||||
if not dbPart:
|
||||
raise DataBaseImportException(
|
||||
f"Part with number {partNumber} and program_label {partProgramLabel} does not exist in the database! Please make sure that you create parts from the web interface first."
|
||||
f"Part with number {partNumber} and program label {partProgramLabel} does not exist in the database! Please make sure that you create parts from the web interface first."
|
||||
)
|
||||
|
||||
dbParts[id] = dbPart
|
||||
|
|
Loading…
Reference in a new issue