From 53436967ed37fd09123d0e66f4d9c0760337752a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 21 Oct 2011 11:50:31 +0200 Subject: [PATCH] timelines without folders --- pandora/item/timelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/timelines.py b/pandora/item/timelines.py index 33902023..d37473c7 100644 --- a/pandora/item/timelines.py +++ b/pandora/item/timelines.py @@ -78,6 +78,7 @@ def join_timelines(timelines, prefix): height = 64 width = 1500 + ox.makedirs(os.path.dirname(prefix)) for f in glob('%s*'%prefix): os.unlink(f) @@ -105,7 +106,6 @@ def join_timelines(timelines, prefix): timeline_name = '%s%sp%04d.png' % (prefix, height, i) timeline.crop((0, 0, pos, height)).save(timeline_name) - ox.makedirs(os.path.dirname(prefix)) makeTiles(prefix, 16, 3600) makeTimelineOverview(prefix, 1920, height=16) makeTimelineOverview(prefix, 1920, height=64)