Ed Leafe wrote:
> On Nov 27, 2008, at 4:31 PM, Paul McNett wrote:
> 
>>>     It's created by RemoteBizobj. I'm actually working right now on
>>> refactoring the code to only create the directory when needed,  
>>> instead
>>> of upon import.
>> Awesome, thanks! I can foresee problems in my distributed .exe's and
>> .app's if the user running the app doesn't have permission to write to
>> the cwd (c:\Program Files\AppName, for example.)
> 
> 
>       OK, I think this should do it. I forced the creation initially  
> because it was required by a classmethod, so I couldn't wait until  
> __init__().

Cool, thanks!

One other thing: Are you sure you want it to be based on os.getcwd(), which 
could be 
anywhere on a user's system, or App.HomeDirectory, which is the defined 
top-level 
directory for the app?

Happy Thanksgiving!
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]

Reply via email to