Commit Graph

16 Commits

Author SHA1 Message Date
751e408b12 More changes to formatting of decimals 2017-02-10 16:55:13 +01:00
a5c16b88c9 Changed so that time added to db only has two decimal points. 2017-02-10 16:44:43 +01:00
b61ae873f1 Forgot to change back the adr of UPDATE sql function to be dynamic to content of online, not a static value. Also removed conn.commit for function where only selects, not update or add. 2017-02-10 16:42:35 +01:00
cce64669f2 Changed the print function when adding/updating the db 2017-02-10 16:39:14 +01:00
f1337c9511 Added return statement for updateTimes() 2017-02-10 16:36:36 +01:00
d685783290 Passed 'c'/cursor to getAddr from updateTimes() 2017-02-10 16:34:44 +01:00
7037832598 Fixed pprint import 2017-02-10 16:32:58 +01:00
a483dc543a Added pprint to main() call functions 2017-02-10 16:31:19 +01:00
0b71e6f5f8 Added a check for if 'arp-scan' is able to run, and added run functions 2017-02-10 16:29:36 +01:00
8871359085 Created the logic for saving and fetching times. 2017-02-10 16:19:46 +01:00
7e0f60996d Added som test for querying the db. 2017-02-10 14:18:03 +01:00
cef5a369d3 Created two tables, 'clients' with MAC adr to track with matching names and 'lastonline' as a table for logging time matching a MAC adr. 2017-02-10 14:17:30 +01:00
657e95ef31 Added a gitignore for times.txt 2017-02-10 12:52:00 +01:00
ed6df7a7dd Merge branch 'master' of github.com:KevinMidboe/homeChecker 2017-02-10 12:47:51 +01:00
479b203d3d Initial commit 2017-02-10 12:47:29 +01:00
69215b7e4c Init commit 2017-02-10 12:43:24 +01:00