From f0aff2ab30ad2620680f68bb6a7ac892271ac123 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 5 May 2014 09:53:32 +0200 Subject: Merge all the shits --- IRC/reaktor.py | 3 ++- commands/caps | 2 +- config.py | 3 ++- repos/view-website | 2 +- repos/whatweb | 2 +- titlebot/commands/help | 1 + 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/IRC/reaktor.py b/IRC/reaktor.py index ec306e7..f9f25e5 100755 --- a/IRC/reaktor.py +++ b/IRC/reaktor.py @@ -86,8 +86,9 @@ class Reaktor(asybot): start = time() try: + print(myargv) p = popen(myargv, bufsize=1, stdout=PIPE, stderr=PIPE, env=env, cwd=cwd) - except (OSError, Exception) as error: + except Exception as error: self.ME(target, 'brain damaged') log.error('OSError@%s: %s' % (myargv, error)) return diff --git a/commands/caps b/commands/caps index b5d6642..ac8cc66 100755 --- a/commands/caps +++ b/commands/caps @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import imp import os diff --git a/config.py b/config.py index ea00693..b115827 100644 --- a/config.py +++ b/config.py @@ -5,7 +5,8 @@ debug = False name = 'crabmanner' -workdir = expanduser('~') + '/state' +#workdir = expanduser('~') + '/state' +workdir = '/home/reaktor/state' irc_alarm_timeout = 300 irc_hammer_interval = 10 diff --git a/repos/view-website b/repos/view-website index 5b9a22c..a389283 160000 --- a/repos/view-website +++ b/repos/view-website @@ -1 +1 @@ -Subproject commit 5b9a22cf872a9855b7cb5eddd7bf962dfbff50df +Subproject commit a3892837aabd5d95e997c0fd2526096f685669f4 diff --git a/repos/whatweb b/repos/whatweb index 0918a0d..362145c 160000 --- a/repos/whatweb +++ b/repos/whatweb @@ -1 +1 @@ -Subproject commit 0918a0d9b75df77f9c3e9eb360b6b22824582a20 +Subproject commit 362145cf80ccd82d4c32e15b37eeff745e0ba668 diff --git a/titlebot/commands/help b/titlebot/commands/help index 475ea98..f04e43b 100755 --- a/titlebot/commands/help +++ b/titlebot/commands/help @@ -3,6 +3,7 @@ cat < - list all suggestions + .highest - lists the NUM highest voted suggestions .up NUM (NUM ...) - upvote one or more suggestions from .list .undo NUM (NUM ...) - undo an upvote .clear - clear the poll (auth required) -- cgit v1.2.3