From daa64ad738a61ef66434128fdd195cf5ae7ca5e6 Mon Sep 17 00:00:00 2001 From: Douglas Blank Date: Mon, 6 Jan 2025 08:10:13 -0500 Subject: [PATCH] Remove import from torch in export.py This PR removes a spurious import from torch, which crashes if torch is not installed. --- gramps_webapi/api/export.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gramps_webapi/api/export.py b/gramps_webapi/api/export.py index 5929e7ae..a227b238 100644 --- a/gramps_webapi/api/export.py +++ b/gramps_webapi/api/export.py @@ -44,7 +44,6 @@ ) from gramps.gen.user import User from gramps.gen.utils.resourcepath import ResourcePath -from torch import Value from ..const import DISABLED_EXPORTERS from .util import UserTaskProgress, abort_with_message, get_locale_for_language