From 57faeb839cd602a6f6d70c98d7a614163778bd69 Mon Sep 17 00:00:00 2001 From: MensEvrard <33543747+MensEvrard@users.noreply.github.com> Date: Fri, 10 Nov 2017 17:05:57 +0700 Subject: [PATCH] Update fields.py --- dbfpy3/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbfpy3/fields.py b/dbfpy3/fields.py index 9257560..da24ba9 100644 --- a/dbfpy3/fields.py +++ b/dbfpy3/fields.py @@ -454,7 +454,7 @@ def lookupFor(typeCode): """ # XXX: use typeCode.upper()? in case of any decign don't # forget to look to the same comment in ``registerField`` - return _fieldsRegistry[chr(typeCode)] + return _fieldsRegistry[typeCode] ## register generic types