Skip to content

Commit

Permalink
Fix daterange and regtag not operating on filtered list of songs
Browse files Browse the repository at this point in the history
  • Loading branch information
upgradeQ committed Aug 10, 2020
1 parent 4e09188 commit 07d3368
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions osuplaylist/osuplaylist.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,9 @@ def get_date(datestring):
date = datetime.strptime(datestring, format)
return date

if list_of_song_names:
osudict = {sn: osudict[sn] for sn in list_of_song_names}

sn_date = get_recent(osudict)

def parse(daterange):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "osuplaylist"
version = "2.1.0"
version = "2.1.1"
description = "Export audio from osu to directory/to ingame collection/to steam music or create m3u8 playlist"
authors = ["upgradeq <noreply@example.com>"]
readme = "README.md"
Expand Down

0 comments on commit 07d3368

Please sign in to comment.