dlflannery commited on
Commit
f4990f9
·
verified ·
1 Parent(s): 9b6989c

Update app.py

Browse files

fixed total speech count

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def genUsageStats(do_reset=False):
119
  for line in dataList:
120
  (dud, len) = line.split(':')
121
  userSpeech += int(len)
122
- totalSpeech += int(len)
123
  accessOk = True
124
  break
125
  except:
 
119
  for line in dataList:
120
  (dud, len) = line.split(':')
121
  userSpeech += int(len)
122
+ totalSpeech += int(userSpeech)
123
  accessOk = True
124
  break
125
  except: