mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-19 23:20:57 +01:00
Change the path back to normal and switch irc.reply back to how it should be
This commit is contained in:
parent
585eb4a751
commit
626958bef9
@ -1,4 +1,4 @@
|
|||||||
#!/n/bronze/7/fincher/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
###
|
###
|
||||||
# Copyright (c) 2002, Jeremiah Fincher
|
# Copyright (c) 2002, Jeremiah Fincher
|
||||||
@ -187,7 +187,7 @@ class Weather(callbacks.Privmsg):
|
|||||||
conds = conds.replace('Tsra', 'Thunder Storms')
|
conds = conds.replace('Tsra', 'Thunder Storms')
|
||||||
s = 'The current temperature in %s, %s is %s%s. Conditions: %s' % \
|
s = 'The current temperature in %s, %s is %s%s. Conditions: %s' % \
|
||||||
(city, state, temp, index, conds)
|
(city, state, temp, index, conds)
|
||||||
irc.reply(msg, s)
|
irc.reply(s)
|
||||||
else:
|
else:
|
||||||
irc.error('The format of the page was odd.')
|
irc.error('The format of the page was odd.')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user