This commit is contained in:
Kevin Froman 2018-08-23 09:51:53 -05:00
parent 1217e4a83c
commit cd39ae68b6

View File

@ -38,7 +38,7 @@ class StorageCounter:
'''Return how much disk space we're using (according to record)'''
retData = 0
try:
with open(self.dataFile, 'w') as dataFile:
with open(self.dataFile, 'r') as dataFile:
retData = int(dataFile.read())
except FileNotFoundError:
pass