On May 17, 2012, at 2:00 PM, Paul McNett wrote:

> Because I guess sqlite's adapter returned the field as an int even though it 
> can
> contain decimal places. Adding the AttributeError fixes.

        So the pythonType is Decimal, but the value is an int? That's strange.

        Perhaps a better solution would be to check for int and set scale=0 for 
those.


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to