Remove logging input details
This commit is contained in:
parent
e60176695d
commit
3005886777
@ -85,9 +85,6 @@ class WordEntry:
|
|||||||
"UNION ALL SELECT frequency, NULL FROM \"AOTRIG\" WHERE word='{}';".format(
|
"UNION ALL SELECT frequency, NULL FROM \"AOTRIG\" WHERE word='{}';".format(
|
||||||
self.word, self.word_len, self.word, self.word, self.word, self.word)
|
self.word, self.word_len, self.word, self.word, self.word, self.word)
|
||||||
|
|
||||||
if basic.logging:
|
|
||||||
print sql_qry
|
|
||||||
|
|
||||||
result = self.db.get_rows(sql_qry)
|
result = self.db.get_rows(sql_qry)
|
||||||
|
|
||||||
# Проставляем "сокращенное" сокращение, если нашли полное
|
# Проставляем "сокращенное" сокращение, если нашли полное
|
||||||
@ -110,8 +107,7 @@ class WordEntry:
|
|||||||
out_mask_list.append('x')
|
out_mask_list.append('x')
|
||||||
else:
|
else:
|
||||||
out_mask_list.append(str(result[i][0]))
|
out_mask_list.append(str(result[i][0]))
|
||||||
if basic.logging:
|
|
||||||
print str(self.word) + ' ' + ''.join(out_mask_list)
|
|
||||||
return ''.join(out_mask_list)
|
return ''.join(out_mask_list)
|
||||||
|
|
||||||
def get_type(self):
|
def get_type(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user