diff --git a/application/thermal_print.py b/application/thermal_print.py index bf580bc..6cd392a 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -95,9 +95,9 @@ class ThermalPrinter(): def print_wordsearch(self): # words = ("gugu,gaga") - r = RandomWord() - words = r.random_words(15, include_parts_of_speech=["nouns", "verbs", "adjectives"]) - w = WordSearch(','.join(words), 32, 16) + r = RandomWord() + words = r.random_words(15, include_parts_of_speech=["nouns", "verbs", "adjectives"]) + w = WordSearch(','.join(words), 32, 16) for x in w.grid: self.p.set(align="center")