From 7f9a18094678f42f1292b273a5f0b6832cd18cec Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 26 Jan 2016 23:23:35 +0000 Subject: [PATCH] Fix typo. --- artiq/coredevice/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/core.py b/artiq/coredevice/core.py index 0cf49b27c..3705e5155 100644 --- a/artiq/coredevice/core.py +++ b/artiq/coredevice/core.py @@ -19,7 +19,7 @@ from artiq.coredevice import exceptions def _render_diagnostic(diagnostic, colored): def shorten_path(path): return path.replace(artiq_dir, "") - lines = [shorten_path(path) for path in diagnostic.render(colored)] + lines = [shorten_path(path) for path in diagnostic.render(colored=colored)] return "\n".join(lines) class _DiagnosticEngine(diagnostic.Engine):