mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
do not cover old import
This commit is contained in:
parent
312441c2f5
commit
e0e87efb8c
@ -21,7 +21,7 @@ from django.utils.text import slugify
|
||||
|
||||
try:
|
||||
from importlib import metadata
|
||||
except:
|
||||
except: # pragma: no cover
|
||||
import importlib_metadata as metadata
|
||||
# TODO remove when python minimum is 3.8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user