From 0b8a962ad08fc5c7d0f5d75855f8011750cb6b54 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 7 Jan 2014 20:27:40 +0100 Subject: ircbot: shortener url fix --- ircbot/contoller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ircbot/contoller.py') diff --git a/ircbot/contoller.py b/ircbot/contoller.py index 8db32b8e..26e88ca9 100755 --- a/ircbot/contoller.py +++ b/ircbot/contoller.py @@ -118,7 +118,7 @@ class commands(): feedfile = 'new_feeds' -url_shortener = 'http://localhost:1337' +url_shortener = 'http://wall' init_channels = ['#news'] if 'FEEDFILE' in os.environ: -- cgit v1.2.3 From 0d1d7d2202a0bb370d896c1c8562139fbc31b395 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 8 Jan 2014 13:03:07 +0100 Subject: ircbot: manual add now with sys url_shortener --- ircbot/contoller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ircbot/contoller.py') diff --git a/ircbot/contoller.py b/ircbot/contoller.py index 26e88ca9..1d9347c3 100755 --- a/ircbot/contoller.py +++ b/ircbot/contoller.py @@ -61,7 +61,7 @@ class NewsBot(irc.bot.SingleServerIRCBot): class commands(): def add(args): - bot = rssbot.RssBot(args[2], args[1]) + bot = rssbot.RssBot(args[2], args[1], url_shortener=url_shortener) bots[args[1]] = bot bot.start() return "bot " + args[1] + " added" -- cgit v1.2.3