Skip to content

Commit afc5773

Browse files
committed
Fixed bug in preimports initialization
1 parent 8f0a652 commit afc5773

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tinyscript/preimports/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _load_preimports(*extras, lazy=True):
7373
if module == "virtualenv":
7474
cls = ["PipPackage", "VirtualEnv"]
7575
for c in cls:
76-
globals()[c] = lazy_object_proxy.Proxy(lambda: getattr(m, c))
76+
globals()[c] = lazy_object_proxy.Proxy(lambda: getattr(module, c))
7777
__features__.extend(cls)
7878
for module in i['standard'] + list(extras):
7979
load(module, lazy=lazy)

0 commit comments

Comments
 (0)