diff options
Diffstat (limited to 'cgi/weabot.py')
-rwxr-xr-x | cgi/weabot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py index 64cb890..29770f4 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -150,7 +150,7 @@ class weabot(object): mobile = ("mobile" in self.formdata.keys()) # call post function - (post_url, ttaken) = self.make_post(ip, boarddir, parent, trap1, trap2, name, email, subject, message, file, file_original, spoil, oek_file, password, noimage, mobile) + (post_url, ttaken, unused) = self.make_post(ip, boarddir, parent, trap1, trap2, name, email, subject, message, file, file_original, spoil, oek_file, password, noimage, mobile) # make redirect self.output += make_redirect(post_url, ttaken) @@ -793,7 +793,7 @@ class weabot(object): hook_url = make_url(postid, post, parent_post or post, True, False) discord_hook(post, hook_url) - return (post_url, ttaken) + return (post_url, ttaken, postid) def delete_post(self, boarddir, postid, imageonly, password, mobile=False): OpenDb() |