1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Remove no longer needed print statements

This commit is contained in:
phxntxm 2017-06-07 03:38:30 -05:00
parent e43808f40c
commit 6779dfca03

View file

@ -105,9 +105,7 @@ class DB:
# We have content...we either need to update it, or replace
# Update will typically be more common so lets try that first
result = await self.query(r.table(table).get(key).update(content))
print(result)
if result.get('replaced', 0) == 0 and result.get('unchanged', 0) == 0:
print("Replacing...")
await self.query(r.table(table).get(key).replace(content))
else:
await self.query(r.table(table).insert(content))