Merge pull request #547 from mAAdhaTTah/bugfix-string-posixpath

Fix string checks in schedule
This commit is contained in:
Nick Sweeting 2020-11-23 20:08:43 -05:00 committed by GitHub
commit 1c79d1e99e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),