summaryrefslogtreecommitdiff
path: root/website/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/helpers.py')
-rw-r--r--website/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/helpers.py b/website/helpers.py
index 7659d43..20ef288 100644
--- a/website/helpers.py
+++ b/website/helpers.py
@@ -17,7 +17,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')
+ p = re.compile(r'.*plot.*\(.*,.*,*\).*\n|bode\(.*,.*\)')
plot_path = ''
if p.search(code):