fixed missing argument flag
This commit is contained in:
@@ -155,8 +155,10 @@ def main(args):
|
||||
if args.replace_all != True:
|
||||
|
||||
if str(sourcepath_relative) in modified_files:
|
||||
|
||||
if args.dry_run != True:
|
||||
|
||||
shutil.copy2(item.resolve(), target, follow_symlinks=args.follow_symlinks)
|
||||
print(item.resolve())
|
||||
|
||||
if args.verbose:
|
||||
|
||||
@@ -182,6 +184,8 @@ def main(args):
|
||||
|
||||
print(output_copy)
|
||||
|
||||
if args.dry_run != True:
|
||||
|
||||
shutil.copy2(item.resolve(), target, follow_symlinks=args.follow_symlinks)
|
||||
|
||||
|
||||
@@ -202,9 +206,6 @@ def main(args):
|
||||
with open(target, "w", encoding="utf-8") as f:
|
||||
f.writelines(''.join(finalform))
|
||||
|
||||
else:
|
||||
pass
|
||||
|
||||
if args.verbose:
|
||||
output_writing = f'{white}Writing {item.name} => {target}{reset}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user