mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 06:33:34 +00:00
Pathvalidate (#1408)
* Update requirements.txt Adding `pathvalidate` to requrements * Update __init__.py Adding `pathvalidate` to make correct filename on other then ascii encodings. * Updating with sanitize_filename * Removing unused variable.
This commit is contained in:
committed by
GitHub
parent
95beb8e62a
commit
7f51e35bd4
@ -895,7 +895,6 @@ RT_TAG_REPLACE_PATTERN = re.compile(r'{(.*?)}')
|
||||
LOWERNUMERIC_CHARS = string.ascii_lowercase + string.digits
|
||||
ALPHANUMERIC_CHARS = LOWERNUMERIC_CHARS + string.ascii_uppercase
|
||||
URL_SAFE_CHARS = ALPHANUMERIC_CHARS + '-._~'
|
||||
FILENAME_SAFE_CHARS = ALPHANUMERIC_CHARS + '-_.() '
|
||||
|
||||
FILTER_ADD_LABEL_TO_ARGUMENT_MAP = {
|
||||
'IMPORTANT': 'important',
|
||||
|
Reference in New Issue
Block a user