From dfbba0ae11bf0872150e4353af434281e83da94d Mon Sep 17 00:00:00 2001 From: FriedrichFroebel Date: Sun, 13 Aug 2023 21:04:07 +0200 Subject: [PATCH] Update djvu_support.py --- didjvu/djvu_support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/didjvu/djvu_support.py b/didjvu/djvu_support.py index 7a9c8b0..2806044 100644 --- a/didjvu/djvu_support.py +++ b/didjvu/djvu_support.py @@ -125,8 +125,8 @@ def _chunk_order(key): class Multichunk: - _chunk_names = 'Sjbz Smmr BG44 BGjp BG2k FGbz FG44 FGjp FG2k INCL Djbz' - _chunk_names = {x.lower(): x for x in _chunk_names.split()} + _chunk_names_string = 'Sjbz Smmr BG44 BGjp BG2k FGbz FG44 FGjp FG2k INCL Djbz' + _chunk_names = {x.lower(): x for x in _chunk_names_string.split()} _info_re = re.compile(r' (\d+)x(\d+),.* (\d+) dpi,').search def __init__(self, width=None, height=None, dpi=None, **chunks):