From c06e7431358a9ed119aa5ce98ed268d6189c5dc4 Mon Sep 17 00:00:00 2001 From: JonathanSum <777Jonathansum@gmail.com> Date: Sat, 23 Jan 2021 03:57:40 -0800 Subject: [PATCH] Update disk.py #27 27 after using the new import, it works --- util/disk.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/util/disk.py b/util/disk.py index 091d2bb..3358d7e 100644 --- a/util/disk.py +++ b/util/disk.py @@ -1,7 +1,10 @@ import gzip -from diskcache import FanoutCache, Disk -from diskcache.core import BytesType, MODE_BINARY, BytesIO +from cassandra.cqltypes import BytesType +from diskcache import FanoutCache, Disk,core +from diskcache.core import io +from io import BytesIO +from diskcache.core import MODE_BINARY from util.logconf import logging log = logging.getLogger(__name__)