comparison sat/core/constants.py @ 3200:5c3bf37f2202

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.
author Goffi <goffi@goffi.org>
date Sun, 01 Mar 2020 18:47:05 +0100
parents adf1aeaa0d37
children 439e2f88c3a9
comparison
equal deleted inserted replaced
3199:5afd7416ca2d 3200:5c3bf37f2202
368 ORDER_BY_MODIFICATION = 'modification' 368 ORDER_BY_MODIFICATION = 'modification'
369 369
370 # internationalisation 370 # internationalisation
371 DEFAULT_LOCALE = "en_GB" 371 DEFAULT_LOCALE = "en_GB"
372 372
373 # Contexts
374 # context indicate how things are done (e.g. to who/what a file is transfered)
375 # this is useful to make some decision (e.g. image size)
376
377 # something is done in instant messaging
378 CONTEXT_CHAT = "CONTEXT_CHAT"
379
380 ## Misc ## 373 ## Misc ##
381 SAVEFILE_DATABASE = APP_NAME_FILE + ".db" 374 SAVEFILE_DATABASE = APP_NAME_FILE + ".db"
382 IQ_SET = '/iq[@type="set"]' 375 IQ_SET = '/iq[@type="set"]'
383 ENV_PREFIX = "SAT_" # Prefix used for environment variables 376 ENV_PREFIX = "SAT_" # Prefix used for environment variables
384 IGNORE = "ignore" 377 IGNORE = "ignore"