fix small type error for unimplemented sources

This commit is contained in:
Shiz 2020-05-18 18:51:53 +02:00
parent 97938bd670
commit ed535b0bd2
1 changed files with 1 additions and 1 deletions

View File

@ -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)