From ec3664a30ae64b0d54738ffa1277bf9b46db606f Mon Sep 17 00:00:00 2001 From: Mo8it Date: Wed, 18 May 2022 01:25:51 +0200 Subject: [PATCH] Improve error message --- advlabdb/database_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advlabdb/database_import.py b/advlabdb/database_import.py index bc18861..f0f9e2f 100644 --- a/advlabdb/database_import.py +++ b/advlabdb/database_import.py @@ -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