mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-24 14:30:29 -04:00
oops, changed order of set_file_info args
This commit is contained in:
parent
4868a9155b
commit
898cbfce31
1 changed files with 3 additions and 3 deletions
|
@ -28,11 +28,11 @@ slug = os.urandom(16).encode('hex')
|
||||||
|
|
||||||
# information about the file
|
# information about the file
|
||||||
filename = filesize = filehash = None
|
filename = filesize = filehash = None
|
||||||
def set_file_info(new_filename, new_filesize, new_filehash):
|
def set_file_info(new_filename, new_filehash, new_filesize):
|
||||||
global filename, filesize, filehash
|
global filename, filehash, filesize
|
||||||
filename = new_filename
|
filename = new_filename
|
||||||
filesize = new_filesize
|
|
||||||
filehash = new_filehash
|
filehash = new_filehash
|
||||||
|
filesize = new_filesize
|
||||||
|
|
||||||
@app.route("/{0}".format(slug))
|
@app.route("/{0}".format(slug))
|
||||||
def index():
|
def index():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue