diff options
Diffstat (limited to 'libs/apprise/attachment/AttachBase.py')
-rw-r--r-- | libs/apprise/attachment/AttachBase.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/apprise/attachment/AttachBase.py b/libs/apprise/attachment/AttachBase.py index 1fde66f4b..aa7174fcf 100644 --- a/libs/apprise/attachment/AttachBase.py +++ b/libs/apprise/attachment/AttachBase.py @@ -28,6 +28,7 @@ import time import mimetypes from ..URLBase import URLBase from ..utils import parse_bool +from ..common import ContentLocation from ..AppriseLocale import gettext_lazy as _ @@ -62,6 +63,11 @@ class AttachBase(URLBase): # 5 MB = 5242880 bytes max_file_size = 5242880 + # By default all attachments types are inaccessible. + # Developers of items identified in the attachment plugin directory + # are requried to set a location + location = ContentLocation.INACCESSIBLE + # Here is where we define all of the arguments we accept on the url # such as: schema://whatever/?overflow=upstream&format=text # These act the same way as tokens except they are optional and/or |