mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 14:59:42 -05:00
oops, changed order of set_file_info args
This commit is contained in:
parent
4868a9155b
commit
898cbfce31
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user