mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
Python 3 support and minor fixes.
This commit is contained in:
parent
4a0d3936e8
commit
4ee09cf817
11 changed files with 66 additions and 70 deletions
|
@ -22,12 +22,9 @@
|
|||
Calendar storage support configuration.
|
||||
"""
|
||||
|
||||
from .. import config
|
||||
from radicale import config
|
||||
|
||||
_support = __import__(config.get("support", "type"), locals(), globals())
|
||||
|
||||
append = _support.append
|
||||
calendars =_support.calendars
|
||||
mkcalendar =_support.mkcalendar
|
||||
read = _support.read
|
||||
remove = _support.remove
|
||||
def load():
|
||||
module = __import__("radicale.support", globals(), locals(),
|
||||
[config.get("support", "type")])
|
||||
return getattr(module, config.get("support", "type"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue