Add source and adf-mode fields to the sane scanner source. Make all fields optional.

Improve error handling.
This commit is contained in:
Roberto Rosario
2017-02-06 04:44:04 -04:00
parent 25f1f7d067
commit 091bac591d
8 changed files with 262 additions and 105 deletions

View File

@@ -0,0 +1,8 @@
from __future__ import unicode_literals
class SourceException(Exception):
"""
Base sources warning
"""
pass