remove_unnessary_print

This commit is contained in:
dobefore
2022-03-08 22:18:11 +00:00
committed by Vikash Kothary
parent b9f081af77
commit 619f0722ee
-1
View File
@@ -135,7 +135,6 @@ select id from notes where mid = ?) limit 1"""
"notetypes", "notetypes",
] ]
for tb in tables: for tb in tables:
print(self.col.db.scalar(f'select null from {tb} where usn=-1'))
if self.col.db.scalar(f'select null from {tb} where usn=-1'): if self.col.db.scalar(f'select null from {tb} where usn=-1'):
return f'table had usn=-1: {tb}' return f'table had usn=-1: {tb}'