Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
akku1139 authored Aug 23, 2024
1 parent 5f17308 commit 22895f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def make(filename, comment, func):
if line.startswith("#"):
continue
ret = func(line.strip())
if ret == "":
logger.info(f'File "{filename}", line {line_count} was ignored')
if ret == "" or ret == None:
logger.info(f'{filename} @ {line_count} : {line} was ignored')
return
out("www.youtube.com###sections " + ret)

Expand Down

0 comments on commit 22895f4

Please sign in to comment.