Fix error message.
This commit is contained in:
parent
9514914096
commit
10d9ccfd49
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def main():
|
|||
send_error('Could not download %s: %s' % (url, e))
|
||||
filename = os.path.basename(upload_file.geturl())
|
||||
else:
|
||||
send_error('Required field "file" is not present.')
|
||||
send_error('No "file" or "url" value given.')
|
||||
print >> sys.stderr, '[username=%s] Processing upload request: NAME=%s FILENAME=%s MD5SUM=%s' % (username, name, filename, md5sum)
|
||||
|
||||
module_dir = os.path.join(CACHE_DIR, name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue