diff --git a/zerver/migrations/0060_move_avatars_to_be_uid_based.py b/zerver/migrations/0060_move_avatars_to_be_uid_based.py index 6e6d7d550e..db265984d5 100644 --- a/zerver/migrations/0060_move_avatars_to_be_uid_based.py +++ b/zerver/migrations/0060_move_avatars_to_be_uid_based.py @@ -28,7 +28,6 @@ def move_local_file(type: Text, path_src: Text, path_dst: Text) -> None: if not os.path.exists(src_file_path): # This is likely caused by a user having previously changed their email raise MissingAvatarException() - return mkdirs(dst_file_path) os.rename(src_file_path, dst_file_path)