ubuntu-bots/Webcal/__init__.py

41 lines
1.1 KiB
Python
Raw Normal View History

# -*+ Encoding: utf-8 -*-
2006-06-26 17:57:20 +00:00
###
2007-09-17 23:43:05 +00:00
# Copyright (c) 2005-2007 Dennis Kaarsemaker
# Copyright (c) 2008-2010 Terence Simpson
2006-06-26 17:57:20 +00:00
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
###
"""
Update the topic according to an iCal schedule
"""
import supybot
import supybot.world as world
2007-09-17 23:43:05 +00:00
__version__ = "0.3"
__author__ = supybot.Author('Terence Simpson', 'tsimpson', 'tsimpson@ubuntu.com')
__contributors__ = {
supybot.Author("Dennis Kaarsemaker","Seveas","dennis@kaarsemaker.net"): ['Original Author']
}
__url__ = 'https://launchpad.net/ubuntu-bots/'
2006-06-26 17:57:20 +00:00
import config
reload(config)
import plugin
reload(plugin)
2007-09-17 23:43:05 +00:00
import ical
reload(ical)
2006-06-26 17:57:20 +00:00
if world.testing:
import test
Class = plugin.Class
configure = config.configure