Latest black changed some formatting, re-run it.

This commit is contained in:
Jennifer Taylor
2023-02-17 03:02:41 +00:00
parent bf9bf16ddd
commit eaf07ddf6a
103 changed files with 96 additions and 230 deletions

View File

@@ -725,7 +725,7 @@ class GlobalMusicData(BaseGlobalData):
return allscores.get(userid, {}).get(songid, {}).get(songchart)
# First, seed with local scores
for (userid, score) in localscores:
for userid, score in localscores:
add_score(userid, score)
# Second, merge in remote scorse
@@ -830,7 +830,7 @@ class GlobalMusicData(BaseGlobalData):
return allscores.get(songid, {}).get(songchart, (None, None))
# First, seed with local records
for (userid, score) in localscores:
for userid, score in localscores:
add_score(userid, score)
# Second, merge in remote records

View File

@@ -19,7 +19,6 @@ class GlobalUserData(BaseGlobalData):
updates["area"] = area
def __format_iidx_profile(self, updates: Profile, profile: Profile) -> None:
area = profile.get_int("area", -1)
if area != -1:
updates["pid"] = area