Skip to content

Commit 7c2ff0b

Browse files
authored
Merge pull request #35 from yuks/main
Fix missing output when VOD categories are disabled and only genres are enabled
2 parents 19bfddd + ef162dd commit 7c2ff0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MacAttack.pyw

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4202,8 +4202,10 @@ class MacAttack(QMainWindow):
42024202
# Replace the grid with the list for the file
42034203
if include_genres and titles_str and titles_grid:
42044204
result_message = result_message.replace(titles_grid, orig_genres)
4205-
result_message = result_message.replace(vods_grid, orig_vods)
42064205
logging.debug("Replacing playlist grid with list for file")
4206+
if include_vod and vod_str and vods_grid:
4207+
result_message = result_message.replace(vods_grid, orig_vods)
4208+
logging.debug("Replacing vod grid with list for file")
42074209
self.output_file.write(result_message + "\n")
42084210
self.output_file.flush()
42094211

0 commit comments

Comments
 (0)