7378: Starting Gramps without console not possible
This commit is contained in:
parent
24b65ca5ed
commit
6286d938d3
@ -90,7 +90,7 @@ if win():
|
||||
pass # ok
|
||||
elif not os.path.isdir(HOME_DIR):
|
||||
os.makedirs(HOME_DIR)
|
||||
sys.stdout = sys.stderr = io.open(logfile, "w", encoding='utf-8')
|
||||
sys.stdout = sys.stderr = open(logfile, "w")
|
||||
stderrh = logging.StreamHandler(sys.stderr)
|
||||
stderrh.setFormatter(form)
|
||||
stderrh.setLevel(logging.DEBUG)
|
||||
|
Loading…
x
Reference in New Issue
Block a user