Skip to content

Commit 94e49e4

Browse files
committed
+hotfix csv-path
1 parent c50269d commit 94e49e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pywaybackup/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.0"
1+
__version__ = "1.0.1"

pywaybackup/arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def parse():
2323
optional.add_argument('--end', type=int, metavar="", help='End timestamp format: YYYYMMDDhhmmss')
2424

2525
special = parser.add_argument_group('special')
26-
special.add_argument('--csv', type=str, nargs='?', metavar='', help='Save a csv file on a given path or defaults to the output folder')
26+
special.add_argument('--csv', type=str, nargs='?', const=True, metavar='', help='Save a csv file on a given path or defaults to the output folder')
2727
special.add_argument('--no-redirect', action='store_true', help='Do not follow redirects by archive.org')
2828
special.add_argument('--verbosity', type=str, default="standard", metavar="", help='["progress", "json"] Verbosity level')
2929
special.add_argument('--retry', type=int, default=0, metavar="", help='Retry failed downloads (opt tries as int, else infinite)')

pywaybackup/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def main():
1515

1616
if args.output is None:
1717
args.output = os.path.join(os.getcwd(), "waybackup_snapshots")
18-
if args.csv == "":
18+
if args.csv is True:
1919
args.csv = args.output
2020

2121
if args.save:

0 commit comments

Comments
 (0)