Commit e2430d2b authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

fix file name bug at respawn

parent 570ee723
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -285,6 +285,9 @@ def handle_uploaded_file(
    # file is respawned ?
    if file.deleted_at:
        file.deleted_at = None
        if force_file_name:
            file.title = force_file_name
            file.original_name = force_file_name
        file.save()
    # For any file, dump basic informations
    # to the filesystem.