diff options
author | Christian Franke <nobody@nowhere.ws> | 2012-01-23 23:24:43 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2012-01-24 00:12:50 +0100 |
commit | 21963b4654737d403070dabfb2cf5b0521c522f4 (patch) | |
tree | 2e60f2f5b31df6614e4ef369909421317534b0f4 /sublab_project/matekarte | |
parent | 1bbb7f7a9ab2096c3e0f3fe3a60bc301bc2d314b (diff) |
Improve tasks for images
Diffstat (limited to 'sublab_project/matekarte')
-rw-r--r-- | sublab_project/matekarte/tasks.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sublab_project/matekarte/tasks.py b/sublab_project/matekarte/tasks.py index bc1018b..5ba8fbd 100644 --- a/sublab_project/matekarte/tasks.py +++ b/sublab_project/matekarte/tasks.py @@ -42,8 +42,8 @@ class OSMFetcher(object): os.rename(fn_new, fn) -#class MateFetcher(OSMFetcher, PeriodicTask): -# run_every = crontab(minute=0, hour=3) -# bbox = (55.26, 46.52, 15.26, 5.22) -# store_name = 'mate.xml' -# tag = 'drink:club-mate' +class MateFetcher(OSMFetcher, PeriodicTask): + run_every = crontab(minute=0, hour=3) + bbox = (55.26, 46.52, 15.26, 5.22) + store_name = 'mate.xml' + tag = 'drink:club-mate' |