This commit is contained in:
Ross
2021-03-08 11:47:12 +00:00
parent 56307710ad
commit 4927ac1e88
+1 -1
View File
@@ -170,7 +170,7 @@ class Long(models.Model):
q = get_object_or_404(Long, pk=question_id)
#exam_order.append(q.id)
path=u"{0}longs/questions/{1}".format(settings.MEDIA_ROOT, question_id),
path= "{0}longs/questions/{1}".format(settings.MEDIA_ROOT, question_id)
with open(path, "w") as f:
# Loop through longimage associations
f.write("[")