mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-25 16:28:57 +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)
|
libc = ctypes.cdll.LoadLibrary(sharedlib)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
print("Error loading dynamically linked library.\nOSError: " + str(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
|
return libc
|
||||||
|
|
||||||
libc = loadlibc()
|
libc = loadlibc()
|
||||||
|
Loading…
Reference in New Issue
Block a user