Skip to content

Commit a5fd15a

Browse files
committed
Fix misplaced global declaration
1 parent c15c9c3 commit a5fd15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonnet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010

1111
def set_runtime(runtime):
12+
global _RUNTIME
1213
if _LOADED:
1314
raise RuntimeError("The runtime {runtime} has already been loaded".format(_RUNTIME))
1415

15-
global _RUNTIME
1616
_RUNTIME = runtime
1717

1818

0 commit comments

Comments
 (0)