Commit 53d3e077 authored by Kremer's avatar Kremer Committed by Florent Fourcot

[application/base] allow user to use '~' when picking log file name

parent 0cad607e
......@@ -437,7 +437,7 @@ class Application(object):
def create_logging_file_handler(self, filename):
try:
stream = open(filename, 'w')
stream = open(os.path.expanduser(filename), 'w')
except IOError as e:
self.logger.error('Unable to create the logging file: %s' % e)
sys.exit(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment