hotspots: Fix typos in function name and code comment.

This commit is contained in:
Sumanth V Rao
2020-12-20 17:33:32 +05:30
committed by Tim Abbott
parent 25276a14d1
commit 540cca595c
3 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ def get_next_hotspots(user: UserProfile) -> List[Dict[str, object]]:
return []
def copy_hotpots(source_profile: UserProfile, target_profile: UserProfile) -> None:
def copy_hotspots(source_profile: UserProfile, target_profile: UserProfile) -> None:
for userhotspot in frozenset(UserHotspot.objects.filter(user=source_profile)):
UserHotspot.objects.create(
user=target_profile, hotspot=userhotspot.hotspot, timestamp=userhotspot.timestamp