oauth working again (CORS allow all)
This commit is contained in:
@@ -84,6 +84,16 @@ def rdata(file,rower=rrower()):
|
||||
|
||||
return res
|
||||
|
||||
def delete_strokedata(id):
|
||||
query = sa.text('DELETE FROM strokedata WHERE workoutid={id};'.format(
|
||||
id=id,
|
||||
))
|
||||
with engine.connect() as conn, conn.begin():
|
||||
try:
|
||||
result = conn.execute(query)
|
||||
except:
|
||||
print "Database Locked"
|
||||
|
||||
def testdata(time,distance,pace,spm):
|
||||
t1 = np.issubdtype(time,np.number)
|
||||
t2 = np.issubdtype(distance,np.number)
|
||||
|
||||
Reference in New Issue
Block a user