adding OSError
This commit is contained in:
parent
74357985bc
commit
69b1dd32a4
@ -31,6 +31,8 @@ class Tox(object):
|
||||
self.libtoxcore = CDLL(temp + 'libtoxcore.so')
|
||||
elif system() == 'Windows':
|
||||
self.libtoxcore = CDLL('libs/libtox.dll')
|
||||
else:
|
||||
raise OSError('Unknown system.')
|
||||
|
||||
# load saved data
|
||||
if path is None:
|
||||
|
Loading…
Reference in New Issue
Block a user