summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDewey Garrett <dgarrett@panix.com>2014-02-15 09:05:22 -0700
committerDewey Garrett <dgarrett@panix.com>2014-02-15 09:45:23 -0700
commit56fdc0ee4083c4a7fec26b3a88f23a9b3a3fc639 (patch)
tree90dd539192f0d821fde195b8abb388f48c666a41 /lib
parent5cf0f9ef19f7723ada700ceec5f1d29bd4213a93 (diff)
downloadlinuxcnc-56fdc0ee4083c4a7fec26b3a88f23a9b3a3fc639.tar.gz
linuxcnc-56fdc0ee4083c4a7fec26b3a88f23a9b3a3fc639.zip
ngcgui: normalize filenames for tilde expansion
when using Ctrl-u etc
Diffstat (limited to 'lib')
-rw-r--r--lib/python/pyngcgui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/pyngcgui.py b/lib/python/pyngcgui.py
index 6a42dd666..475b00268 100644
--- a/lib/python/pyngcgui.py
+++ b/lib/python/pyngcgui.py
@@ -531,6 +531,7 @@ def spath_from_inifile(fname):
l.extend(p.split(':'))
lfull = []
for d in l:
+ d = os.path.expanduser(d)
if os.path.isabs(d):
lfull.append(d)
else: