hibrandon / ipwatcher

Apache License 2.0
1 stars 0 forks source link

Windows .properties file location #1

Open hibrandon opened 12 years ago

hibrandon commented 12 years ago

The exe provided for windows does not allow the properties file to be written to the intended directory of user home. This is related to a call to os.getenv('HOME') that returns the correct directory when run as a python script however returns None when packaged as an exe with Cx_freeze

hibrandon commented 12 years ago

wrapped the call in a try. If the os.getenv returns none the properties file is written to the cwd. I will continue to look into the cause of this in cx_freeze.