8000 Fix runtime loading error message · pythonnet/pythonnet@dea6bcb · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Lines changed: 1 addition & 2 deletions
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)
0