diff --git a/app.py b/app.py index 31d9f1f..2c224cf 100755 --- a/app.py +++ b/app.py @@ -44,7 +44,7 @@ static_img_path = "static/img/images/" temp_img_prefix = "MAX-" image_captions = collections.OrderedDict() -VALID_EXT = ['png', 'jpg', 'jpeg', 'gif'] +VALID_EXT = ['png', 'jpg', 'jpeg'] class MainHandler(web.RequestHandler): diff --git a/static/js/webapp.js b/static/js/webapp.js index 3f5cd87..f9f08c6 100644 --- a/static/js/webapp.js +++ b/static/js/webapp.js @@ -231,7 +231,7 @@ $(function() { set_img_picker(); }, error: function() { - alert("Must submit a valid file (png, jpeg, jpg, or gif)"); + alert("Must submit a valid file (png, jpeg, or jpg)"); }, complete: function() { $("#file-submit").text("Submit");