Show More
@@ -283,11 +283,13 b' def runlistpy(self, event):' | |||
|
283 | 283 | # should complete on all files, since after the first one other files may |
|
284 | 284 | # be arguments to the input script. |
|
285 | 285 | #filter( |
|
286 |
if filter(lambda f: f.endswith('.py') or f.endswith('.ipy') |
|
|
286 | if filter(lambda f: f.endswith('.py') or f.endswith('.ipy') or | |
|
287 | f.endswith('.pyw'),comps): | |
|
287 | 288 | pys = [f.replace('\\','/') for f in lglob('*')] |
|
288 | 289 | else: |
|
289 | 290 | pys = [f.replace('\\','/') |
|
290 |
for f in lglob(relpath+'*.py') + lglob(relpath+'*.ipy') |
|
|
291 | for f in lglob(relpath+'*.py') + lglob(relpath+'*.ipy') + | |
|
292 | lglob(relpath + '*.pyw')] | |
|
291 | 293 | return dirs + pys |
|
292 | 294 | |
|
293 | 295 |
General Comments 0
You need to be logged in to leave comments.
Login now