Skip to content

Commit

Permalink
Dont run empty commands either
Browse files Browse the repository at this point in the history
  • Loading branch information
NullSoldier committed Jun 20, 2018
1 parent 7e40d9d commit 02671e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serverthrall/plugins/runscripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def ready(self, steamcmd, server, thrall):
self.run_script()

def run_script(self):
command = self.config.get('command', default=None)
command = self.config.get('command', default='').strip()
arguments = self.config.get('command_arguments', default=None)
timeout = self.config.getint('command_timeout', default=None)

Expand Down

0 comments on commit 02671e1

Please sign in to comment.