adding OSError
This commit is contained in:
parent
74357985bc
commit
69b1dd32a4
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ class Tox(object):
|
||||||
self.libtoxcore = CDLL(temp + 'libtoxcore.so')
|
self.libtoxcore = CDLL(temp + 'libtoxcore.so')
|
||||||
elif system() == 'Windows':
|
elif system() == 'Windows':
|
||||||
self.libtoxcore = CDLL('libs/libtox.dll')
|
self.libtoxcore = CDLL('libs/libtox.dll')
|
||||||
|
else:
|
||||||
|
raise OSError('Unknown system.')
|
||||||
|
|
||||||
# load saved data
|
# load saved data
|
||||||
if path is None:
|
if path is None:
|
||||||
|
|
Loading…
Reference in a new issue