Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-was-here committed Aug 19, 2023
1 parent c9852e5 commit 7d4e8c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nowplaying/twitch/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,9 @@ async def _post_template(self, msg=None, templatein=None, moremetadata=None, jin

if isinstance(templatein, pathlib.Path):
if not templatein.is_file():
logging.debug('%s is not a file.', template)
logging.debug('%s is not a file.', str(templatein))
return
else:
template = templatein.name
template = templatein.name
elif not self.templatedir.joinpath(templatein).is_file():
logging.debug('%s is not a file.', templatein)
return
Expand Down

0 comments on commit 7d4e8c0

Please sign in to comment.