diff --git a/octoprint_filamentmanager/data/__init__.py b/octoprint_filamentmanager/data/__init__.py index ca434b3..ea5d2b5 100644 --- a/octoprint_filamentmanager/data/__init__.py +++ b/octoprint_filamentmanager/data/__init__.py @@ -343,7 +343,7 @@ def from_csv(table): values = dict(zip(header, row)) if self.engine_dialect_is(self.DIALECT_SQLITE): - identifier = values[table.c.id] + identifier = values[table.c.id.name] # try to update entry stmt = update(table).values(values).where(table.c.id == identifier) if self.conn.execute(stmt).rowcount == 0: diff --git a/octoprint_filamentmanager/templates/spool_confirmation.jinja2 b/octoprint_filamentmanager/templates/spool_confirmation.jinja2 index d77ca07..98232b1 100644 --- a/octoprint_filamentmanager/templates/spool_confirmation.jinja2 +++ b/octoprint_filamentmanager/templates/spool_confirmation.jinja2 @@ -6,14 +6,20 @@
{{ _("Please confirm your selected spools for all active tools. This dialog is meant to protect you from accidentically selecting wrong spools for the print.") }}
- -{{ _("There are no information available about the active tools for the print job. Make sure the analysing process of the file has finished and that it's loaded correctly.") }}
+ + + +{{ _("Please confirm your selected spools for all active tools. This dialog is meant to protect you from accidentically selecting wrong spools for the print.") }}
+ +