migration_0060: Remove unreachable return statement.

This was introduced in a past refactoring.
This commit is contained in:
Wyatt Hoodes
2019-07-28 11:16:38 -10:00
committed by Tim Abbott
parent f22b2c7e9d
commit b01ba48369

View File

@@ -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)