Revision cb7c0198 lib/backend.py
b/lib/backend.py | ||
---|---|---|
2255 | 2255 |
@return: the normalized path if valid, None otherwise |
2256 | 2256 |
|
2257 | 2257 |
""" |
2258 |
if not constants.ENABLE_FILE_STORAGE: |
|
2259 |
_Fail("File storage disabled at configure time") |
|
2258 | 2260 |
cfg = _GetConfig() |
2259 | 2261 |
file_storage_dir = os.path.normpath(file_storage_dir) |
2260 | 2262 |
base_file_storage_dir = cfg.GetFileStorageDir() |
Also available in: Unified diff