Actualiser cogs/database.py
This commit is contained in:
parent
962bcee4cc
commit
bab9621d58
@ -1,5 +1,7 @@
|
||||
import sqlite3
|
||||
|
||||
#Ce fichier python crée deux fichier database, un user location et un task completed.
|
||||
#Dedans un tableau est crée en SQLite, user location enregistre la localisation tapé par l'utilisateur, et task completed ajoute une ligne à chaque fois un utilisateur marque une tâche comme "complété".
|
||||
class UserLocation:
|
||||
def __init__(self, db_name='users_location.db'):
|
||||
self.db_name = db_name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user