Verified Commit e4f7172f authored by Jakob Moser's avatar Jakob Moser
Browse files

Just log errors for now

parent 2ffae9ce
Loading
Loading
Loading
Loading
+3 −0
Changes for karaokatalog/organize/__main__.py: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -27,7 +27,10 @@ if __name__ == "__main__":

    logging.warning(f"Moving {len(move_instructions)} songs!")
    for instruction in tqdm(move_instructions, unit=" songs"):
        try:
            instruction()
        except FileExistsError:
            logging.error(f"Could not move {instruction.old_path} -> {instruction.new_path}")
    logging.info("Moving done")

    logging.info("Karaokatalog Organization done")