Fixed an error that crept into log permissions during code restructuring.
This commit is contained in:
@ -32,6 +32,8 @@ class debugManager():
|
||||
pathlib.Path(directory).mkdir(parents=True, exist_ok=True)
|
||||
try:
|
||||
self._file = open(self._fileName,'a')
|
||||
# Set readable permissions for all users (644)
|
||||
os.chmod(self._fileName, 0o644)
|
||||
self._fileOpened = True
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
Reference in New Issue
Block a user