fix small type error for unimplemented sources
This commit is contained in:
parent
97938bd670
commit
ed535b0bd2
|
@ -31,7 +31,7 @@ class OBSSource:
|
|||
name = data['name']
|
||||
type = data['id']
|
||||
if type not in cls.TYPES:
|
||||
raise NotImplementedType('unknown type: {}'.format(type))
|
||||
raise NotImplementedError('unknown type: {}'.format(type))
|
||||
|
||||
s = cls.TYPES[type](name)
|
||||
s.load(data)
|
||||
|
|
Loading…
Reference in New Issue