From c2ca795c78c579ce25a30a5da251a63ad23405cf Mon Sep 17 00:00:00 2001 From: stodd Date: Mon, 25 Jul 2011 16:32:19 -0700 Subject: [PATCH] changed strftime('%H%m%s') to strftime('%H%M%S') to allow it to work on Windows. --- geraldo/generators/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geraldo/generators/text.py b/geraldo/generators/text.py index 54c166b..c999376 100644 --- a/geraldo/generators/text.py +++ b/geraldo/generators/text.py @@ -164,7 +164,7 @@ def make_paragraph_style(self, band, style=None): for k,v in style.items(): d_style[k] = v - return dict(name=datetime.datetime.now().strftime('%H%m%s'), **d_style) + return dict(name=datetime.datetime.now().strftime('%H%M%S'), **d_style) def keep_in_frame(self, widget, width, height, paragraphs, mode): # Doesn't nothing for a while: TODO