oops, changed order of set_file_info args

This commit is contained in:
Micah Lee 2014-05-30 21:27:21 -04:00
parent 4868a9155b
commit 898cbfce31

View File

@ -28,11 +28,11 @@ slug = os.urandom(16).encode('hex')
# information about the file
filename = filesize = filehash = None
def set_file_info(new_filename, new_filesize, new_filehash):
global filename, filesize, filehash
def set_file_info(new_filename, new_filehash, new_filesize):
global filename, filehash, filesize
filename = new_filename
filesize = new_filesize
filehash = new_filehash
filesize = new_filesize
@app.route("/{0}".format(slug))
def index():