From 42c91d2ceb621c31ddaba8f2ac9f8ed293a92770 Mon Sep 17 00:00:00 2001 From: samerbam Date: Tue, 22 Aug 2023 22:53:27 -0400 Subject: [PATCH] fix word search words --- application/thermal_print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/thermal_print.py b/application/thermal_print.py index e0f2943..8eebf38 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -97,7 +97,7 @@ class ThermalPrinter(): # words = ("gugu,gaga") r = RandomWord() words = r.random_words(10, include_parts_of_speech=["nouns", "verbs", "adjectives"]) - w = WordSearch(words, 32, 32) + w = WordSearch(','.join(words), 32, 32) for x in w.grid: self.p.set(align="center")