Commit 76c01fe8 authored by Hermann Krumrey's avatar Hermann Krumrey

Skip title updating

parent de4926b5
......@@ -93,13 +93,18 @@ class Renamer:
return list(filter(lambda x: x.source != x.dest, self.operations))
def rename(self, noconfirm: bool):
def rename(self, noconfirm: bool, skip_title: bool = False):
Renames the contained files according to the naming schema.
:param noconfirm: Skips the confirmation phase if True
:param skip_title: If True, will skip title renaming
:return: None
should_title = self.load_title_name()
if skip_title:
should_title =
should_title = self.load_title_name()
if should_title !=
ok = noconfirm
if not ok:
......@@ -80,7 +80,7 @@ class MangadexUpdater(Updater):
""""Running rename")
if not self.args["dry_run"]:
Renamer(self.metadata).rename(noconfirm=True, skip_title=True)
ops = Renamer(self.metadata).get_active_operations()
for op in ops:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment