fix: "HOME" is no standard in windows ... :(
authorOliver Maurhart <oliver.maurhart@ait.ac.at>
Wed, 19 Feb 2014 11:39:02 +0100
changeset 729c747741aff2
parent 71 0ca25608ed0f
child 73 a68be2fa6039
fix: "HOME" is no standard in windows ... :(
OpenSecurity/bin/environment.py
     1.1 --- a/OpenSecurity/bin/environment.py	Wed Feb 19 11:30:28 2014 +0100
     1.2 +++ b/OpenSecurity/bin/environment.py	Wed Feb 19 11:39:02 2014 +0100
     1.3 @@ -96,7 +96,7 @@
     1.4          
     1.5          """the path where log files should be stored"""
     1.6          
     1.7 -        user_log_path = os.path.join(os.environ['HOME'], '.log')
     1.8 +        user_log_path = os.path.expanduser('~/.log')
     1.9          
    1.10          if sys.platform == 'linux2':
    1.11