Move cover loading and culling to guifunctions module

This commit is contained in:
BasioMeusPuga
2018-03-24 00:30:58 +05:30
parent f63b6627b2
commit 0f963b20f9
6 changed files with 111 additions and 100 deletions

View File

@@ -72,7 +72,6 @@ class DefinitionsUI(QtWidgets.QDialog, definitions.Ui_Dialog):
def find_definition(self, word):
word_root_json = self.api_call(self.root_url, word)
print(word_root_json)
if not word_root_json:
self.set_text(word, None, None, True)
return