Commit fbab3ade authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed issue #89.

parent 71270536
...@@ -105,7 +105,7 @@ class GMSEnvironment(object): ...@@ -105,7 +105,7 @@ class GMSEnvironment(object):
@staticmethod @staticmethod
def check_read_write_permissions(): def check_read_write_permissions():
if not os.path.isdir(CFG.path_tempdir): if not os.path.isdir(CFG.path_tempdir):
os.makedirs(CFG.path_tempdir) os.makedirs(CFG.path_tempdir, exist_ok=True)
if not os.access(CFG.path_tempdir, os.R_OK): if not os.access(CFG.path_tempdir, os.R_OK):
raise PermissionError('No read-permissions at %s.' % CFG.path_tempdir) raise PermissionError('No read-permissions at %s.' % CFG.path_tempdir)
......
...@@ -524,7 +524,7 @@ class process_controller(object): ...@@ -524,7 +524,7 @@ class process_controller(object):
def shutdown(self): def shutdown(self):
"""Shutdown the process controller instance (loggers, remove temporary directories, ...).""" """Shutdown the process controller instance (loggers, remove temporary directories, ...)."""
self.logger.info(' Shutting down gracefully...') self.logger.info('Shutting down gracefully...')
# release unclosed locks # release unclosed locks
release_unclosed_locks() release_unclosed_locks()
......
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