Fix logic error in saving favorites for IIDX
This commit is contained in:
parent
a62cc92717
commit
6c41c826d9
@ -2051,6 +2051,7 @@ class IIDXCannonBallers(IIDXCourse, IIDXBase):
|
|||||||
})
|
})
|
||||||
|
|
||||||
# Filter out empty charts
|
# Filter out empty charts
|
||||||
|
if name is not None:
|
||||||
singles = [single for single in singles if single['id'] != 0]
|
singles = [single for single in singles if single['id'] != 0]
|
||||||
doubles = [double for double in doubles if double['id'] != 0]
|
doubles = [double for double in doubles if double['id'] != 0]
|
||||||
|
|
||||||
|
@ -1768,6 +1768,7 @@ class IIDXRootage(IIDXCourse, IIDXBase):
|
|||||||
})
|
})
|
||||||
|
|
||||||
# Filter out empty charts
|
# Filter out empty charts
|
||||||
|
if name is not None:
|
||||||
singles = [single for single in singles if single['id'] != 0]
|
singles = [single for single in singles if single['id'] != 0]
|
||||||
doubles = [double for double in doubles if double['id'] != 0]
|
doubles = [double for double in doubles if double['id'] != 0]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user