update kobuddy paths

This commit is contained in:
Dima Gerasimov 2019-09-20 23:07:55 +01:00
parent ffe11210cc
commit 4b751e0408
2 changed files with 19 additions and 3 deletions

View file

@ -1,6 +1,16 @@
from my.ext.kobuddy import *
from functools import lru_cache
set_databases('/L/backups/kobo')
from .. import paths
@lru_cache()
def kobuddy_module():
from kython import import_from
return import_from(paths.kobuddy.repo, 'kobuddy')
kobuddy = kobuddy_module()
from kobuddy import *
set_databases(paths.kobuddy.export_dir)
def get_todos():
def with_todo(ann):