Show More
@@ -372,10 +372,8 b' class PostForm(NeboardForm):' | |||||
372 | Gets an file file from URL. |
|
372 | Gets an file file from URL. | |
373 | """ |
|
373 | """ | |
374 |
|
374 | |||
375 | img_temp = None |
|
|||
376 |
|
||||
377 | try: |
|
375 | try: | |
378 | download(url) |
|
376 | return download(url) | |
379 | except forms.ValidationError as e: |
|
377 | except forms.ValidationError as e: | |
380 | raise e |
|
378 | raise e | |
381 | except Exception as e: |
|
379 | except Exception as e: |
General Comments 0
You need to be logged in to leave comments.
Login now