Format code
This commit is contained in:
parent
1adbb8fa0c
commit
9b352eaf80
5
adsms.py
5
adsms.py
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Partially written with ChatGPT
|
# Partially written with ChatGPT
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
@ -28,7 +28,8 @@ def load_database(config):
|
||||||
|
|
||||||
def update_last_seen_time(con, sub_id):
|
def update_last_seen_time(con, sub_id):
|
||||||
con.execute(
|
con.execute(
|
||||||
"UPDATE subscriptions SET last_seen = ? WHERE rowid = ?", (time.time(), sub_id)
|
"UPDATE subscriptions SET last_seen = ? WHERE rowid = ?",
|
||||||
|
(time.time(), sub_id),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user