summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/DirList.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stdwin/DirList.py')
-rwxr-xr-xLib/stdwin/DirList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stdwin/DirList.py b/Lib/stdwin/DirList.py
index 20a0fe8..0066c58 100755
--- a/Lib/stdwin/DirList.py
+++ b/Lib/stdwin/DirList.py
@@ -25,7 +25,7 @@ class DirList(VSplit):
if path.isdir(path.join(dirname, name)):
fullname = path.join(dirname, name)
btn = SubdirButton().definetext(self, fullname)
- elif name[-3:] = '.py':
+ elif name[-3:] == '.py':
btn = ModuleButton().definetext(self, name)
else:
btn = FileButton().definetext(self, name)