Max out the recorded uptimes at 50.

This commit is contained in:
Jeremy Fincher 2003-10-15 06:25:32 +00:00
parent f987a6e69b
commit ba9e9f4397

View File

@ -75,7 +75,7 @@ class UptimeDB(object):
def die(self): def die(self):
fd = file(self.filename, 'w') fd = file(self.filename, 'w')
fd.write(repr(self.uptimes)) fd.write(repr(self.top(50)))
fd.write('\n') fd.write('\n')
fd.close() fd.close()