diff --git a/gramps/grampsapp.py b/gramps/grampsapp.py index 4551bf13e..e67c95fd4 100644 --- a/gramps/grampsapp.py +++ b/gramps/grampsapp.py @@ -619,5 +619,8 @@ def main(): for error in errors: logging.warning(error[0] + error[1]) + sys.stdout.close() + sys.stderr.close() + if __name__ == '__main__': main()