Fix bug causing already_posted to not be updated correctly.
This commit is contained in:
parent
30827f9458
commit
e4452fb167
|
@ -108,7 +108,7 @@ def generate(post=False, pm_recipients=None) -> None:
|
||||||
|
|
||||||
releases = predbs.get_releases()
|
releases = predbs.get_releases()
|
||||||
# Remove old releases from already_posted to save space
|
# Remove old releases from already_posted to save space
|
||||||
already_posted.intersection_update(releases)
|
already_posted.intersection_update(r.dirname for r in releases)
|
||||||
|
|
||||||
parsed_releases = parsing.parse_releases(releases, already_posted)
|
parsed_releases = parsing.parse_releases(releases, already_posted)
|
||||||
|
|
||||||
|
|
Reference in a new issue