Jun-16-2018, 04:14 PM
(Jun-16-2018, 03:43 PM)buran Wrote: could be justrun_command('systemctl {} {}'.format(action, service), systemctl_verbose) if verbose: print('[V] {} service: {}'.format(action.capitalize() + service))
Wow! Thanks for that. Whipped by the pythonic slapstick! Just had to change + to , in
print('[V] {} service: {}'.format(action.capitalize() + service))then it works perfectly. Module has been updated. Awesome :)