refurbished css for webpage generator

This commit is contained in:
q
2018-12-06 10:30:10 +02:00
parent ca8439dc4c
commit 5f4a3c9015
2 changed files with 143 additions and 80 deletions

View File

@@ -12,7 +12,7 @@ def get_options():
action = "store_false",
dest = "move",
default = True,
help = "Copy file instead of copying",
help = "Copy file instead of moving",
)
parser.add_argument(
'-d',
@@ -112,10 +112,7 @@ if __name__ == "__main__":
else:
new_name = get_version_name(opts.file)
if not opts.quiet:
print("%s -> %s"%(
opts.file,
new_name
))
print(new_name)
test_existing(new_name, opts.force)
if opts.move:
os.rename(opts.file, new_name)