Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings
This repository was archived by the owner on Jul 22, 2023. It is now read-only.
/pythonnetPublic archive
forked frompythonnet/pythonnet

Commit0bf49e7

Browse files
committed
Update clr.py
1 parent170f33d commit0bf49e7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎clr.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ def _load_clr():
2727
ifsys.platform=="win32":
2828
path=_get_netfx_path()
2929
else:
30-
try:
31-
path=_get_mono_path()
32-
exceptIndexError:
33-
# no files compiles for mono
34-
path=_get_netfx_path()
30+
# only mono works on Windows
31+
path=_get_mono_path()
3532

3633
delsys.modules[__name__]
3734

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp