Loading karaokatalog/instructions/MoveInstruction.py +1 −0 Changes for karaokatalog/instructions/MoveInstruction.py: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,4 +18,5 @@ class MoveInstruction(Instruction): if self.new_path.exists(): raise FileExistsError("New path already exists, not moving anything") self.new_path.parent.mkdir(exist_ok=True, parents=True) self.old_path.rename(self.new_path) Loading
karaokatalog/instructions/MoveInstruction.py +1 −0 Changes for karaokatalog/instructions/MoveInstruction.py: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,4 +18,5 @@ class MoveInstruction(Instruction): if self.new_path.exists(): raise FileExistsError("New path already exists, not moving anything") self.new_path.parent.mkdir(exist_ok=True, parents=True) self.old_path.rename(self.new_path)