From 83d587b8a3fbdc13dad206105018534c9c138d5b Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 28 Aug 2003 21:27:15 +0000 Subject: [PATCH] Changed some bugs in configure. --- plugins/RSS.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/RSS.py b/plugins/RSS.py index 5a2104724..99315ed36 100644 --- a/plugins/RSS.py +++ b/plugins/RSS.py @@ -69,8 +69,8 @@ def configure(onStart, afterConnect, advanced): prompt = 'Would you like to add an RSS feed?' while yn(prompt) == 'y': prompt = 'Would you like to add another RSS feed?' - name = anything('What\'s the name of the website?') - url = anything('What\'s the URL of the RSS feed?') + name = something('What\'s the name of the website?') + url = something('What\'s the URL of the RSS feed?') if yn('Would you like to add an alias for accessing ' \ '%s\'s info?' % name) == 'y': if advanced: @@ -79,11 +79,11 @@ def configure(onStart, afterConnect, advanced): infocmd = name + "info" print 'You will be able to access %s\'s info via the ' \ '\'%s\' command' % (name, infocmd) + if infocmd: + onStart.append('alias %s "rssinfo %s"' % (infocmd, url)) + onStart.append('freeze %s' % infocmd) onStart.append('alias %s "rsstitles %s"' % (name, url)) onStart.append('freeze %s' % name) - if infocmd: - onStart.append('alias %s "rssinfo %s"' % (infocmd, url)) - onStart.append('freeze %s' % infocmd) example = utils.wrapLines(""" @list RSS