master
Kevin Froman 2018-08-23 09:51:53 -05:00
parent 1217e4a83c
commit cd39ae68b6
1 changed files with 1 additions and 1 deletions

View File

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