Revision 1b7bfbb7 lib/backend.py
b/lib/backend.py | ||
---|---|---|
1963 | 1963 |
|
1964 | 1964 |
""" |
1965 | 1965 |
if os.path.isdir(constants.EXPORT_DIR): |
1966 |
return utils.ListVisibleFiles(constants.EXPORT_DIR) |
|
1966 |
return True, utils.ListVisibleFiles(constants.EXPORT_DIR)
|
|
1967 | 1967 |
else: |
1968 |
return []
|
|
1968 |
return False, "No exports directory"
|
|
1969 | 1969 |
|
1970 | 1970 |
|
1971 | 1971 |
def RemoveExport(export): |
Also available in: Unified diff