From ab353eac5996534ec9601169cc8341233024d518 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Tue, 29 Oct 2013 02:31:52 +0100 Subject: [PATCH] added "less" to "log" command --- linspector/frontends/lish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linspector/frontends/lish.py b/linspector/frontends/lish.py index c702782..632c228 100644 --- a/linspector/frontends/lish.py +++ b/linspector/frontends/lish.py @@ -264,7 +264,7 @@ Usage: self.help_log() elif text == "less": try: - # TODO: do the tail on the logfile set by args and not a static path + # TODO: do the less on the logfile set by args and not a static path with open(os.path.dirname(os.path.abspath(__file__)) + "/../../log/linspector.log"): os.system("less " + os.path.dirname(os.path.abspath(__file__)) + "/../../log/linspector.log") except IOError: