summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram R Pai2014-09-18 11:53:56 +0530
committerJayaram R Pai2014-09-18 11:53:56 +0530
commit1f51a377928f921f2c021ab1e9d57d2e47b5b770 (patch)
tree3ddc81b8f5ad71f30f2cc8201ab72bdc051c5b77
parent262a34b6259af5c65bed34e92b56ae26f70bbf10 (diff)
downloadscilab-on-cloud-1f51a377928f921f2c021ab1e9d57d2e47b5b770.tar.gz
scilab-on-cloud-1f51a377928f921f2c021ab1e9d57d2e47b5b770.tar.bz2
scilab-on-cloud-1f51a377928f921f2c021ab1e9d57d2e47b5b770.zip
added evans to plot regex
-rw-r--r--website/helpers.py2
1 files changed, 1 insertions, 1 deletions
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):