Skip to content

Commit bb36b6d

Browse files
committed
Only right trim to preserve indentation on certain output
1 parent 362d373 commit bb36b6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/modules/schtask_as.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def on_admin_login(self, context, connection):
122122
output = output.decode("cp437")
123123
if output:
124124
for line in output.splitlines():
125-
self.logger.highlight(line.strip())
125+
self.logger.highlight(line.rstrip())
126126

127127
except Exception as e:
128128
if "SCHED_S_TASK_HAS_NOT_RUN" in str(e):

0 commit comments

Comments
 (0)