summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2020-08-22 10:27:20 +0200
committerLars-Dominik Braun <lars@6xq.net>2020-08-22 10:27:20 +0200
commit4b992d5d37e0dad7dac2c877c01c9bffa799994c (patch)
tree8cb7289c7964d661b6c05fd20c7e25cfabc691f0
parentb006d79713ee34baf4514b40481abc36cff083db (diff)
downloadlulua-4b992d5d37e0dad7dac2c877c01c9bffa799994c.tar.gz
lulua-4b992d5d37e0dad7dac2c877c01c9bffa799994c.tar.bz2
lulua-4b992d5d37e0dad7dac2c877c01c9bffa799994c.zip
text: Fix broken circular import
-rw-r--r--lulua/text.py3
1 files changed, 2 insertions, 1 deletions
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']