10000 Merge pull request #423 from fsw0422/develop · python-mode/python-mode@c67a1b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit c67a1b7

Browse files
committed
Merge pull request #423 from fsw0422/develop
fixed autoimport
2 parents 2f15f3d + 20d0288 commit c67a1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymode/rope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def __init__(self, path, project_path):
362362
69D1 if os.path.exists("%s/__init__.py" % project_path):
363363
sys.path.append(project_path)
364364

365-
if self.options.get('autoimport'):
365+
if self.options.get('autoimport') == '1':
366366
self.generate_autoimport_cache()
367367

368368
env.debug('Context init', project_path)

0 commit comments

Comments
 (0)
0