Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion idc_index/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ def _check_create_directory(download_dir):
download_dir = Path(download_dir)
download_dir.mkdir(parents=True, exist_ok=True)

return str(download_dir.resolve())
download_dir = str(download_dir.resolve()).replace("'", "''")

return download_dir

def _check_disk_size_and_warn(self, download_dir, disk_size_needed):
disk_free_space_MB = psutil.disk_usage(download_dir).free / (1000 * 1000)
Expand Down