Skip to content

Commit 09c80e8

Browse files
committed
refactor(album): fix pyright typing issue
As far as I can tell, the new code is equivalent to the old.
1 parent b47029a commit 09c80e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

moe/library/album.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ def __init__(
363363
self.track_total = track_total
364364
self.title = title
365365

366-
if config.CONFIG.settings.original_date and self.original_date:
367-
self.date = self.original_date
366+
if config.CONFIG.settings.original_date and original_date:
367+
self.date = original_date
368368

369369
log.debug(f"Album created. [album={self!r}]")
370370

0 commit comments

Comments
 (0)