mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
Merge pull request #547 from mAAdhaTTah/bugfix-string-posixpath
Fix string checks in schedule
This commit is contained in:
commit
1c79d1e99e
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue