diff --git a/person.py b/person.py index e987fe3..7ec4a00 100644 --- a/person.py +++ b/person.py @@ -150,7 +150,7 @@ def add_refimg(): if not person: raise Exception("could not find person to add reference image too!") f=request.files['refimg_file'] - refimg = Refimg( fname="new"+f.filename ) + refimg = Refimg( fname=f.filename ) try: # save the actual uploaded image to reference_images/ fname=secure_filename(f.filename)