From 1f51a377928f921f2c021ab1e9d57d2e47b5b770 Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Thu, 18 Sep 2014 11:53:56 +0530 Subject: added evans to plot regex --- website/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website') diff --git a/website/helpers.py b/website/helpers.py index aa20c5b..36d1cb4 100644 --- a/website/helpers.py +++ b/website/helpers.py @@ -20,7 +20,7 @@ def scilab_run(code, token, book_id, dependency_exists): plot_exists = False #Finding the plot and appending xs2jpg function - p = re.compile(r'.*plot.*\(.*\).*\n|bode\(.*\)') + p = re.compile(r'.*plot.*\(.*\).*\n|bode\(.*\)|evans\(.*\)') plot_path = '' if p.search(code): -- cgit