From cce64669f22b6473eb0d0b0287a8f7c49cca5a4b Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Fri, 10 Feb 2017 16:39:14 +0100 Subject: [PATCH] Changed the print function when adding/updating the db --- home.db | Bin 5120 -> 5120 bytes macLookup.py | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home.db b/home.db index f684c8a0f0742e5af083503e5bdf7ac6dd9a701d..480bc3f4170d6c1a849151ef206930c3119af288 100644 GIT binary patch delta 32 ocmZqBXwaA-&8Rt1#+g-Px# diff --git a/macLookup.py b/macLookup.py index 971bcd6..01c4609 100755 --- a/macLookup.py +++ b/macLookup.py @@ -71,14 +71,15 @@ def updateTimes(): conn.commit() conn.close() - return ("Updated following clients: " + online) + return (online) if __name__ == '__main__': if argv[-1] == 'add': - pprint(updateTimes()) + print("Updated following clients:", updateTimes()) elif argv[-1] == 'get': pprint(getTimes()) else: print("Add args 'add' or 'get'") +