mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2026-10-21 05:33:20 +05:30
Changed SystemExit exception to RuntimeError
This commit is contained in:
1 parent
979c5f4aaa
commit
e63154cd7f
1 file changed
+1
-1
@@ -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