Possibly fixed a bug related to https://code.djangoproject.com/ticket/20020
This commit is contained in:
parent
0cef00ca8f
commit
d80b7c9b57
|
@ -68,7 +68,8 @@ class STLUploadForm(ModelForm):
|
|||
if matched_pattern != endsolid_pattern:
|
||||
raise forms.ValidationError("Not a valid ascii STL file.")
|
||||
|
||||
stlfile.close()
|
||||
# see https://code.djangoproject.com/ticket/20020
|
||||
# stlfile.close()
|
||||
return stlfile
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue