Skip to content

Commit 8414b5e

Browse files
committed
common -iniinfo: remove image directory variable
1 parent 0a03f05 commit 8414b5e

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

lib/python/common/iniinfo.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def __init__(self, ini=None):
3232

3333
# Are we using RIP or installed version?
3434
self.RIP_FLAG = bool(os.environ.get('LINUXCNC_RIP_FLAG', False))
35+
3536
base = self.get_base()
36-
self.IMAGE_PATH = self.get_image_dir(base)
3737
self.LIB_PATH = self.get_lib_dir(base)
3838

3939
if not self.LINUXCNC_IS_RUNNING:
@@ -873,12 +873,6 @@ def get_base(self):
873873
LOG.verbose('Using Linuxcnc Base directory: {}'.format(base))
874874
return base
875875

876-
def get_image_dir(self, base):
877-
if base is not None:
878-
return os.path.join(base, "share", "qtvcp", "images")
879-
else:
880-
return None
881-
882876
def get_lib_dir(self, base):
883877
return os.path.join(base, "share", "qtvcp")
884878

0 commit comments

Comments
 (0)