diff options
| -rw-r--r-- | tabletext.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tabletext.py b/tabletext.py index 34b1b2f..dc9053a 100644 --- a/tabletext.py +++ b/tabletext.py @@ -93,7 +93,8 @@ def main(): lenghts", nargs=2, type=int, metavar="<n>", default=[1, 1]) parser.add_argument("--format", help="format string for the table entries", - default="", dest="formats", metavar="FORMAT") + default="", dest="formats", metavar="FORMAT", + type=unicode) parser.add_argument("--header", help="format first row as header", action="store_true") parser.add_argument("--hhor", help="horizontal line character \ |
