Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Dec 1, 2021
1 parent 91da9aa commit b1fdb3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions patch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ class PythonHocModule(types.ModuleType):
def p(self):
global _p
if _p is None:
_p = PythonHocModule.PythonHocInterpreter()
PythonHocModule.PythonHocInterpreter._process_registration_queue()
p_class = PythonHocModule.PythonHocInterpreter
_p = p_class()
p_class._process_registration_queue()
return _p

def connection(self, source, target, strict=True):
Expand Down

0 comments on commit b1fdb3d

Please sign in to comment.