M rework/cli.py +1 -1
@@ 7,7 7,7 @@ import pickle
import click
from colorama import init, Fore, Style
from pkg_resources import iter_entry_points
-import zstd
+import pyzstd as zstd
from sqlalchemy import create_engine
from sqlhelp import update, select
M rework/helper.py +2 -2
@@ 11,7 11,7 @@ import json
import struct
from apscheduler.triggers.cron import CronTrigger
-import zstd
+import pyzstd as zstd
import pytz
import psutil
from sqlalchemy.engine import url
@@ 445,7 445,7 @@ def pack_io(spec, args):
def nary_unpack(packedbytes):
try:
packedbytes = zstd.decompress(packedbytes.tobytes())
- except zstd.Error:
+ except zstd.ZstdDecompressor:
raise TypeError('wrong input format')
[sizes_size] = struct.unpack(
M setup.py +1 -1
@@ 25,7 25,7 @@ setup(name='rework',
'tzlocal',
'inireader',
'apscheduler',
- 'zstd',
+ 'pyzstd',
'dateutils',
'psyl'
],