fix: fallback to importlib_metadata
on older python
This commit is contained in:
parent
eb8962003c
commit
f4682c9070
|
@ -1,6 +1,9 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
try:
|
||||
from importlib.metadata import version
|
||||
except ImportError:
|
||||
from importlib_metadata import version
|
||||
|
||||
|
||||
__version__ = version('rattail-tempmon')
|
||||
|
|
Loading…
Reference in a new issue