Skip to content

Commit e52da84

Browse files
authored
Remove import from torch in export.py (#600)
This PR removes a spurious import from torch, which crashes if torch is not installed.
1 parent f0e28b3 commit e52da84

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gramps_webapi/api/export.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
)
4545
from gramps.gen.user import User
4646
from gramps.gen.utils.resourcepath import ResourcePath
47-
from torch import Value
4847

4948
from ..const import DISABLED_EXPORTERS
5049
from .util import UserTaskProgress, abort_with_message, get_locale_for_language

0 commit comments

Comments
 (0)