Show More
@@ -14,6 +14,11 b' def setHook(synchronize_with_editor):' | |||||
14 |
|
14 | |||
15 |
|
15 | |||
16 | def findFilename(filename): |
|
16 | def findFilename(filename): | |
|
17 | filename = os.path.splitext(filename) | |||
|
18 | if filename[1] == ".pyc": | |||
|
19 | filename = (filename[0], ".py") | |||
|
20 | filename = "".join(filename) | |||
|
21 | ||||
17 | if not os.path.isabs(filename): |
|
22 | if not os.path.isabs(filename): | |
18 | filename = os.path.join(os.getcwd(), filename) |
|
23 | filename = os.path.join(os.getcwd(), filename) | |
19 |
|
24 |
General Comments 0
You need to be logged in to leave comments.
Login now