Skip to content

Commit

Permalink
fix: call location property correctly in do_rename (#8721)
Browse files Browse the repository at this point in the history
* call location property on show correctly for do_rename
Fixes #8721
---------

Co-authored-by: miigotu <[email protected]>
  • Loading branch information
BKSteve and miigotu authored Feb 19, 2024
1 parent 3b5a9f4 commit 93456e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickchill/views/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ def testRename(self):
return self._genericMessage(_("Error"), _("Show not in show list"))

try:
show_obj.location()
show_obj.location
except ShowDirectoryNotFoundException:
return self._genericMessage(_("Error"), _("Can't rename episodes when the show dir is missing."))

Expand Down

0 comments on commit 93456e5

Please sign in to comment.