mirror of
https://github.com/KevinMidboe/homeChecker.git
synced 2025-10-29 09:30:27 +00:00
Changed the print function when adding/updating the db
This commit is contained in:
@@ -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'")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user