Skip to content

Commit d462155

Browse files
committed
[info] Install path as constant
1 parent 1408dcf commit d462155

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

odml/info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import os
22
import json
33

4-
here = os.path.dirname(__file__)
4+
INSTALL_PATH = os.path.dirname(__file__)
55

6-
with open(os.path.join(here, "info.json")) as infofile:
6+
with open(os.path.join(INSTALL_PATH, "info.json")) as infofile:
77
infodict = json.load(infofile)
88

99
VERSION = infodict["VERSION"]

0 commit comments

Comments
 (0)