summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2019-09-13 16:42:48 +0530
committerprashantsinalkar2019-09-13 16:44:31 +0530
commitaf9bfbb8e3b1f08e0df80402cf69d40ff5baf7b4 (patch)
tree624b0fc0cb001c59653fca11f6320a0093487426
parent489f16974da5742c4dfe6436ce11783bed985151 (diff)
downloadR_on_Cloud_Web_Interface-af9bfbb8e3b1f08e0df80402cf69d40ff5baf7b4.tar.gz
R_on_Cloud_Web_Interface-af9bfbb8e3b1f08e0df80402cf69d40ff5baf7b4.tar.bz2
R_on_Cloud_Web_Interface-af9bfbb8e3b1f08e0df80402cf69d40ff5baf7b4.zip
removed unused code
-rwxr-xr-xwebsite/ajax.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/website/ajax.py b/website/ajax.py
index a18fe86..90658b6 100755
--- a/website/ajax.py
+++ b/website/ajax.py
@@ -15,7 +15,6 @@ from django.views.decorators.csrf import csrf_exempt, csrf_protect
# from django.db.models import Q
from textwrap import dedent
from R_on_Cloud.config import FROM_EMAIL, TO_EMAIL, CC_EMAIL, BCC_EMAIL
-from R_on_Cloud.config import UPLOADS_PATH
from website.views import catg, dictfetchall
from website.models import *
from website.forms import BugForm, RevisionForm, issues
@@ -200,7 +199,6 @@ def code(request):
cursor.execute(GET_TBC_EXAMPLE_VIEW_SQL, params=[example_id])
exmple = cursor.fetchone()
review_url = "https://scilab.in/cloud_comments/" + str(example_id)
- # example_path = UPLOADS_PATH + '/' + file_path
file = utils.get_file(file_path, commit_sha, main_repo=True)
code = file