forked from 3wordchant/capsul-flask
metrics are working!!!
This commit is contained in:
PipfilePipfile.lock
capsulflask
__init__.pyconsole.pydb.pydb_model.pylanding.pymetrics.pypayment_btcpay.py
schema_migrations
static
templates
@ -111,6 +111,10 @@ class DBModel:
|
||||
)
|
||||
self.connection.commit()
|
||||
|
||||
# def vm_exists(self, email, id):
|
||||
# self.cursor.execute("SELECT id FROM vms WHERE email = %s AND id = %s ", (email, id))
|
||||
# return len(self.cursor.fetchall()) > 0
|
||||
|
||||
def get_vm_detail(self, email, id):
|
||||
self.cursor.execute("""
|
||||
SELECT vms.id, vms.last_seen_ipv4, vms.last_seen_ipv6, os_images.description, vms.created, vms.deleted,
|
||||
|
Reference in New Issue
Block a user