Skip to content
This repository was archived by the owner on Jun 26, 2021. It is now read-only.

Commit 320c913

Browse files
authored
Update _backends.py
1 parent ff0f07b commit 320c913

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

delira/_backends.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
import json
3-
from delira._version import __version__
3+
from delira._version import get_versions as _get_versions
44

55
# to register new possible backends, they have to be added to this list.
66
# each backend should consist of a tuple of length 2 with the first entry
@@ -47,7 +47,8 @@ def _determine_backends():
4747
_backends[curr_backend[1]] = False
4848

4949
with open(_config_file, "w") as f:
50-
json.dump({"version": __version__, "backend": _backends},
50+
json.dump({"version": _get_versions()['version'],
51+
"backend": _backends},
5152
f, sort_keys=True, indent=4)
5253

5354
del _backends

0 commit comments

Comments
 (0)