|
@ -7,7 +7,7 @@ now = datetime.datetime.now() |
|
|
day = now.strftime('%F') |
|
|
day = now.strftime('%F') |
|
|
the_time = now.strftime('%H:%M') |
|
|
the_time = now.strftime('%H:%M') |
|
|
|
|
|
|
|
|
url = 'https://solar.lowechmagazine.com/api/stats.json' |
|
|
url = 'https://solar.lowtechmagazine.com/api/stats.json' |
|
|
|
|
|
|
|
|
if not os.path.exists('stats.db'): |
|
|
if not os.path.exists('stats.db'): |
|
|
db = sqlite3.connect('stats.db') |
|
|
db = sqlite3.connect('stats.db') |
|
|