Bail out if no command was specified after | shortcut.

This commit is contained in:
Aldo Cortesi 2011-07-08 21:41:00 +12:00
parent 8e176c2086
commit 65fbb7bd0d

View File

@ -508,7 +508,8 @@ class ConnectionView(WWrap):
return key return key
def run_script(self, path): def run_script(self, path):
self.master._runscript(self.flow, path) if path:
self.master._runscript(self.flow, path)
class _PathCompleter: class _PathCompleter: