diff options
author | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2008-08-04 17:25:51 +0200 |
---|---|---|
committer | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2008-08-04 17:25:51 +0200 |
commit | 590ae8cb3189ce5727bce7d78ab7b4e6c3ae3e6e (patch) | |
tree | dff607b4a6117f92fd50597eaa96ef81cdf4bda0 | |
parent | 1ea16bb5f8ad86619a2fbf29ae05c78d943e68e6 (diff) | |
download | logilab-common-590ae8cb3189ce5727bce7d78ab7b4e6c3ae3e6e.tar.gz |
correction in adapt_decimal
-rw-r--r-- | db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,7 +353,7 @@ class _PySqlite2Adapter(DBAPIAdapter): # decimal type handling from decimal import Decimal def adapt_decimal(data): - return u"%s" % data + return str(data) sqlite.register_adapter(Decimal,adapt_decimal) def convert_decimal(data): |