From 66ecf73760021cc7c528684f7b63fc3d8754856f Mon Sep 17 00:00:00 2001 From: Michael Skelton Date: Fri, 16 Jun 2017 16:52:01 +1000 Subject: [PATCH] Updated todo module to agnostic user path --- bumblebee/modules/todo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/todo.py b/bumblebee/modules/todo.py index e51ff8f..12166c3 100644 --- a/bumblebee/modules/todo.py +++ b/bumblebee/modules/todo.py @@ -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