Add source and adf-mode fields to the sane scanner source. Make all fields optional.
Improve error handling.
This commit is contained in:
8
mayan/apps/sources/exceptions.py
Normal file
8
mayan/apps/sources/exceptions.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
class SourceException(Exception):
|
||||
"""
|
||||
Base sources warning
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user