On Saturday 28 November 2009 09:27:20 pm jvandal wrote:
> "C:\Python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\ui\uiwx\dPemMixi
> n.py", line 320, in _afterInit
> self.afterInit()
> File "c:\users\jim\appdata\local\temp\tmpeiu34a.py", line 264, in
> afterInit
> self.Defaultvalues = ("servicedate", datetime.date.today())
> NameError: global name 'datetime' is not defined
You need to import the 'datetime' module
as in
import datetime
If you are using ClassDesigner use the File->Import Declarations to add the
above line.
Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]