mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2025-05-31 14:11:42 +05:30
Changed SystemExit exception to RuntimeError
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user