mirror of
https://github.com/kennethreitz-archive/bpython-gist.git
synced 2026-06-05 23:50:18 +00:00
'.' now in sys.path on startup
Now you can import modules from the current working directory.
This commit is contained in:
@@ -294,6 +294,7 @@ class Repl(object):
|
||||
self.list_win_visible = False
|
||||
self._C = {}
|
||||
sys.stdin = FakeStdin(self)
|
||||
sys.path.insert(0, '.')
|
||||
|
||||
if not OPTS.arg_spec:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user