Updated todo module to agnostic user path

This commit is contained in:
Michael Skelton 2017-06-16 16:52:01 +10:00
parent 250c0135e6
commit 66ecf73760

View file

@ -33,7 +33,7 @@ class Module(bumblebee.engine.Module):
def count_items(filename):
try:
i=-1
with open('/home/codingo/Documents/todo.txt') as f:
with open('~/Documents/todo.txt') as f:
for i, l in enumerate(f):
pass
return i+1