Skip to content

Commit dea6bcb

Browse files
filmorlostmsu
authored andcommitted
Fix runtime loading error message
1 parent 2742815 commit dea6bcb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pythonnet/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
import sys
32
import clr_loader
43

@@ -11,7 +10,7 @@
1110
def set_runtime(runtime):
1211
global _RUNTIME
1312
if _LOADED:
14-
raise RuntimeError("The runtime {runtime} has already been loaded".format(_RUNTIME))
13+
raise RuntimeError("The runtime {} has already been loaded".format(_RUNTIME))
1514

1615
_RUNTIME = runtime
1716

0 commit comments

Comments
 (0)