Browse Source

fix small type error for unimplemented sources

master
Shiz 1 year ago
parent
commit
ed535b0bd2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/overlay/obs/base.py

+ 1
- 1
src/overlay/obs/base.py 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)


Loading…
Cancel
Save