Skip to content

Commit

Permalink
Fixed error message (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbozarth authored and stevemart committed Aug 8, 2018
1 parent de99617 commit e991dce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion static/js/webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e991dce

Please sign in to comment.