Skip to content

Commit e12c8cd

Browse files
committed
repace is not inplace
1 parent 3171916 commit e12c8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/core/usecases/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def download_to_local_storage(self, destination: str, extract_zip=False):
207207
self.reporter.stop_spinner()
208208
filename = Path(export["path"]).name
209209
for char in DownloadExportUseCase.FORBIDDEN_CHARS:
210-
filename.replace(char, "_")
210+
filename=filename.replace(char, "_")
211211
filepath = Path(destination) / filename
212212
with requests.get(export["download"], stream=True) as response:
213213
response.raise_for_status()

0 commit comments

Comments
 (0)