Skip to content

Commit 9aff1d4

Browse files
committed
fix: readarr command aliases don't work properly
ver: 3.2.2
1 parent 8c6b3dd commit 9aff1d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

searcharr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import readarr
2525
import settings
2626

27-
__version__ = "3.2.1"
27+
__version__ = "3.2.2"
2828

2929
DBPATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "data")
3030
DBFILE = "searcharr.db"
@@ -357,7 +357,7 @@ def __init__(self, token):
357357
logger.warning(
358358
"No readarr_tag_with_username setting found. Please add readarr_tag_with_username to settings.py (readarr_tag_with_username=True or readarr_tag_with_username=False). Defaulting to True."
359359
)
360-
if not hasattr(settings, "readarr_movie_command_aliases"):
360+
if not hasattr(settings, "readarr_book_command_aliases"):
361361
settings.readarr_book_command_aliases = ["book"]
362362
logger.warning(
363363
'No readarr_book_command_aliases setting found. Please add readarr_book_command_aliases to settings.py (e.g. readarr_book_command_aliases=["book", "bk"]. Defaulting to ["book"].'

0 commit comments

Comments
 (0)