Skip to content

Commit 9f123b2

Browse files
hazayanhazayan
andauthored
Fix second bug in crontab parsing (#595)
Co-authored-by: hazayan <[email protected]>
1 parent 2bfd90a commit 9f123b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyinfra/facts/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def process(output):
384384
continue
385385

386386
if line.startswith('@'):
387-
special_time, command = line.split(' ', 1)
387+
special_time, command = line.split(None, 1)
388388
crons[command] = {
389389
'special_time': special_time,
390390
'comments': current_comments,

0 commit comments

Comments
 (0)