tools (images): max_size can now be manually specified in checkImage and dest in resizeImage:

`context` has been removed as it is not used and doesn't seem that useful.
This commit is contained in:
Goffi 2020-03-01 18:47:05 +01:00
commit 8777bd07cb

View file

@ -370,13 +370,6 @@ class Const(object):
# internationalisation
DEFAULT_LOCALE = "en_GB"
# Contexts
# context indicate how things are done (e.g. to who/what a file is transfered)
# this is useful to make some decision (e.g. image size)
# something is done in instant messaging
CONTEXT_CHAT = "CONTEXT_CHAT"
## Misc ##
SAVEFILE_DATABASE = APP_NAME_FILE + ".db"
IQ_SET = '/iq[@type="set"]'