misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-10-20 18:20:07 +02:00
parent fbd12bf87b
commit e8fa682302
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -168,6 +168,8 @@ class LastSession(object):
self.avg_reward /= (self.epochs if self.epochs else 1)
def parse(self):
logging.debug("parsing last session logs ...")
lines = []
if os.path.exists(self.path):