We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47b41d8 commit dc04780Copy full SHA for dc04780
IPython/core/shellapp.py
@@ -260,7 +260,7 @@ def init_path(self):
260
.. versionchanged:: X.X
261
Respect sys.flags.safe_path (PYTHONSAFEPATH and -P flag)
262
"""
263
- if '' in sys.path or self.ignore_cwd or sys.flags.safe_path:
+ if "" in sys.path or self.ignore_cwd or sys.flags.safe_path:
264
return
265
for idx, path in enumerate(sys.path):
266
parent, last_part = os.path.split(path)
0 commit comments