mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-28 08:39:54 +02:00
Merge pull request #547 from mAAdhaTTah/bugfix-string-posixpath
Fix string checks in schedule
This commit is contained in:
@@ -938,7 +938,7 @@ def schedule(add: bool=False,
|
||||
|
||||
if every or add:
|
||||
every = every or 'day'
|
||||
quoted = lambda s: f'"{s}"' if s and ' ' in s else s
|
||||
quoted = lambda s: f'"{s}"' if s and ' ' in str(s) else str(s)
|
||||
cmd = [
|
||||
'cd',
|
||||
quoted(out_dir),
|
||||
|
Reference in New Issue
Block a user