mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 07:04:36 +08:00
Fix remaining issues with sys path checks.
This commit is contained in:
1 parent
f4c99259b5
commit
47c4369d28
1 file changed
+1
-1
@@ -1380,7 +1380,7 @@ class StatementElement(Simple):
|
||||
|
||||
def get_code(self):
|
||||
if self.next is not None:
|
||||
s = '.' if isinstance(self, Array) else ''
|
||||
s = '.' if not isinstance(self.next, Array) else ''
|
||||
return s + self.next.get_code()
|
||||
return ''
|
||||
|
||||
|
||||
Reference in new issue
Block a user