diff --git a/ipwb/replay.py b/ipwb/replay.py index 6d83b0b2..cedbaaeb 100755 --- a/ipwb/replay.py +++ b/ipwb/replay.py @@ -15,7 +15,6 @@ import ipfshttpclient as ipfsapi import json import subprocess -import pkg_resources import surt import re import traceback @@ -1019,8 +1018,6 @@ def get_index_file_full_path(cdxj_file_path=INDEX_FILE): if os.path.isfile(cdxj_file_path): return cdxj_file_path - # index_file_name = pkg_resources.resource_filename( - # __name__, index_file_path) index_file_name = importlib.resources.files( __name__).joinpath(index_file_path) return index_file_name