From f5f8ff7b8335cde962067632f088f49f14b30feb Mon Sep 17 00:00:00 2001 From: Christopher Brichford Date: Tue, 30 Jun 2015 16:54:06 -0700 Subject: [PATCH] Fix unit tests on python 2.6 and 2.7. --- pyzipcode/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzipcode/__init__.py b/pyzipcode/__init__.py index da3b76b..0e4400e 100644 --- a/pyzipcode/__init__.py +++ b/pyzipcode/__init__.py @@ -16,7 +16,7 @@ def __init__(self): conn = sqlite3.connect(db_location) conn.close() - def query(self, sql, args): + def query(self, sql, args=tuple()): conn = None retry_count = 0 while not conn and retry_count <= 10: