From 4b992d5d37e0dad7dac2c877c01c9bffa799994c Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 22 Aug 2020 10:27:20 +0200 Subject: text: Fix broken circular import --- lulua/text.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lulua/text.py b/lulua/text.py index 77b259e..8fa9f48 100644 --- a/lulua/text.py +++ b/lulua/text.py @@ -39,7 +39,6 @@ import brotli from .keyboard import defaultKeyboards from .layout import defaultLayouts from .writer import Writer -from .stats import allStats, makeCombined def iterchar (fd): batchsize = 1*1024*1024 @@ -324,6 +323,8 @@ def apply (fs, items): else: return apply (fs[1:], chain.from_iterable (map (fs[0], items))) +from .stats import allStats, makeCombined + def writeWorker (layout, funcs, inq, outq, statusq, benchmark): try: keyboard = defaultKeyboards['ibmpc105'] -- cgit v1.2.3