changeset 2666:99c0b1bacdcd

mod_http_upload: Where did those parenthesis come from?
author Kim Alvefur <zash@zash.se>
date Tue, 04 Apr 2017 00:11:05 +0200
parents cfb7936ff61f
children 0c7802b95820
files mod_http_upload/mod_http_upload.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Tue Apr 04 00:06:19 2017 +0200
+++ b/mod_http_upload/mod_http_upload.lua	Tue Apr 04 00:11:05 2017 +0200
@@ -19,7 +19,7 @@
 local have_id, id = pcall(require, "util.id"); -- Only available in 0.10+
 local uuid = require"util.uuid".generate;
 if have_id then
-	uuid = id.medium();
+	uuid = id.medium;
 end
 
 local function join_path(...) -- COMPAT util.path was added in 0.10