Mercurial > getan
view getan.py @ 145:ccd47a2d37a6
Carefully handle non unicode strings for urwid
Urwid seems to have some issues with latin1 and unicode conversion when setting
a text box. Therefore be sure to pass only unicode strings to urwid.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Tue, 13 Nov 2012 13:12:12 +0100 |
parents | 6df408534f3f |
children | 999a438474f2 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- # # (c) 2010 by Ingo Weinzierl <ingo.weinzierl@intevation.de> # (c) 2011 by Björn Ricks <bjoern.ricks@intevation.de> # # A python worklog-alike to log what you have 'getan' (done). # # This is Free Software licensed under the terms of GPLv3 or later. # For details see LICENSE coming with the source of 'getan'. # from getan.main import main main()