Update ptw

git-svn-id: http://photonzero.com/dotfiles/trunk@98 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
michener 2011-05-05 19:28:34 +00:00
parent c863f92442
commit 1af0bb64b4
2 changed files with 3 additions and 2 deletions

View file

@ -196,7 +196,7 @@ def db_get(count=None, since=None):
def timestamp_and_text_exists(timestamp, text, db):
for x in db:
if x["timestamp"] == timestamp:
if x["text"] == text:
if text.startswith(x["text"]):
return True
return False