Ed Leafe wrote: > On Jun 19, 2008, at 2:39 AM, Paul McNett wrote: > >> Changed strToBmp() to use app.HomeDirectory as the cwd, if there's >> an app defined, >> as app.HomeDirectory always refers to the app's root directory, even >> if the >> cwd is somewhere else, even if the app is frozen with py2exe. > > > Looks like a good change. Question: since we are searching a series > of locations until we find the file in question, what about adding > both the HomeDirectory and current directory if they're not the same? > We can search the homedir first, and if still not found, search the > currdir. Does this make sense?
Sounds good. I'd say the search order should really be: 1) os.getcwd() 2) app.HomeDirectory 3) Dabo directories Paul _______________________________________________ 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]
