diff options
| -rw-r--r-- | prettytable.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/prettytable.py b/prettytable.py index ba74d33..fee2148 100644 --- a/prettytable.py +++ b/prettytable.py @@ -371,6 +371,8 @@ class PrettyTable(object): if val == "": return try: + val = val.rsplit('f')[0] + assert type(val) in (str, unicode) assert "." in val bits = val.split(".") assert len(bits) <= 2 |
