Skip to content

Commit

Permalink
Fix(ImportManager): Fix NameError
Browse files Browse the repository at this point in the history
The loop was not run even once.
  • Loading branch information
phdru committed Sep 24, 2024
1 parent 143b180 commit ba2a0c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cheetah/ImportManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ def importHook(self, name, globals=None, locals=None,
_self_doimport = self.doimport
threaded = self.threaded
for context in contexts:
i = 0
ctx = context
for i in range(len(nmparts)):
nm = nmparts[i]
Expand Down

0 comments on commit ba2a0c4

Please sign in to comment.