summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stdwin')
-rwxr-xr-xLib/stdwin/dirwin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/stdwin/dirwin.py b/Lib/stdwin/dirwin.py
index 0b3b5db..d0a8525 100755
--- a/Lib/stdwin/dirwin.py
+++ b/Lib/stdwin/dirwin.py
@@ -11,7 +11,7 @@ import dircache
def action(w, string, i, detail):
(h, v), clicks, button, mask = detail
if clicks = 2:
- name = path.cat(w.name, string)
+ name = path.join(w.name, string)
try:
w2 = anywin.open(name)
w2.parent = w
@@ -19,7 +19,7 @@ def action(w, string, i, detail):
stdwin.message('Can\'t open ' + name + ': ' + why[1])
def open(name):
- name = path.cat(name, '')
+ name = path.join(name, '')
list = dircache.opendir(name)[:]
list.sort()
dircache.annotate(name, list)