Skip to content

Commit e991dce

Browse files
ajbozarthstevemart
authored andcommitted
Fixed error message (#37)
1 parent de99617 commit e991dce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
static_img_path = "static/img/images/"
4545
temp_img_prefix = "MAX-"
4646
image_captions = collections.OrderedDict()
47-
VALID_EXT = ['png', 'jpg', 'jpeg', 'gif']
47+
VALID_EXT = ['png', 'jpg', 'jpeg']
4848

4949

5050
class MainHandler(web.RequestHandler):

static/js/webapp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ $(function() {
231231
set_img_picker();
232232
},
233233
error: function() {
234-
alert("Must submit a valid file (png, jpeg, jpg, or gif)");
234+
alert("Must submit a valid file (png, jpeg, or jpg)");
235235
},
236236
complete: function() {
237237
$("#file-submit").text("Submit");

0 commit comments

Comments
 (0)