Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix runtime loading error message
  • Loading branch information
filmor committed Oct 14, 2021
commit 2eb143fe0301a825427f99206310e9aafd47d098
3 changes: 1 addition & 2 deletions pythonnet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
import sys
import clr_loader

Expand All @@ -11,7 +10,7 @@
def set_runtime(runtime):
global _RUNTIME
if _LOADED:
raise RuntimeError("The runtime {runtime} has already been loaded".format(_RUNTIME))
raise RuntimeError("The runtime {} has already been loaded".format(_RUNTIME))

_RUNTIME = runtime

Expand Down