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:
parent
143dd9bc0a
commit
8777bd07cb
1 changed files with 23 additions and 19 deletions
|
|
@ -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"]'
|
||||
|
|
|
|||
Loading…
Reference in a new issue