Echo wrote:
dabo Commit
Revision 2226
Date: 2006-06-20 05:53:19 -0700 (Tue, 20 Jun 2006)
Author: echo

Changed:
U   trunk/dabo/db/dBackend.py

Log:
Fixed a bug when simply trying to create a dConnectInfo with no gui. Is this 
the best way to fix this?

-               self._encoding = self.Application.Encoding
+               if self.Application:
+                       self._encoding = self.Application.Encoding

Since "utf-8" is the bottom-level default for Dabo, this is probably better:

if self.Application:
        self._encoding = self.Application.Encoding
else:
        self._encoding = "UTF-8"

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to