mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-22 05:42:59 +05:30
Changed SystemExit exception to RuntimeError
This commit is contained in:
parent
979c5f4aaa
commit
e63154cd7f
@ -12,7 +12,7 @@ def loadlibc():
|
||||
libc = ctypes.cdll.LoadLibrary(sharedlib)
|
||||
except OSError as e:
|
||||
print("Error loading dynamically linked library.\nOSError: " + str(e))
|
||||
raise SystemExit("Couldn't load %s" % sharedlib)
|
||||
raise RuntimeError("Couldn't load %s" % sharedlib)
|
||||
return libc
|
||||
|
||||
libc = loadlibc()
|
||||
|
Loading…
Reference in New Issue
Block a user