Re: A Trivial Python Error

Rich Shepard <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Mon, 27 Nov 2006, Adrian Klaver wrote:

>>        config.projname = ted.GetValue()
>>        config.dbFileName = ted.GetValue() + '.db'

> Until you made the change, config.dbFileName was only defined in
> config.py. Unless you are writing to config.py and changing the values for
> dirname and projname their values are set to ' '.

Adrian,

   That's why I explicitly assigned the directory and file names to the
config module.

   Well, anyway, it works. It may not be elegant, but it's functional. :-)

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.