Added drive cleanup to the upgrade process

This commit is contained in:
David Carley
2021-03-07 23:57:24 -08:00
parent ae9e13ecad
commit 851ec31b0c
4 changed files with 44 additions and 1 deletions

View File

@@ -170,7 +170,7 @@ class Log(object):
if self.path is None: return
if self.f is not None: self.f.close()
self._rotate(self.path)
self.f = open(self.path, 'w')
self.f = open(self.path, 'a')
self.bytes_written = 0