From 3c90cec0cdb24f5bd5b3474d5d37927467d68661 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 23 Mar 2025 20:19:18 +0000 Subject: [PATCH] forgot these pyinstaller/build.sh: fix jinja2 after upgrade up2k.py: fix double-hs after dupe finalize --- copyparty/up2k.py | 3 ++- scripts/pyinstaller/build.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 1f815343..2e563a94 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -3709,8 +3709,9 @@ class Up2k(object): if self.idx_wark(vflags, *z2): del self.registry[ptop][wark] else: - for k in "host tnam busy sprs poke t0c".split(): + for k in "host tnam busy sprs poke".split(): del job[k] + job.pop("t0c", None) job["t0"] = int(job["t0"]) job["hash"] = [] job["done"] = 1 diff --git a/scripts/pyinstaller/build.sh b/scripts/pyinstaller/build.sh index 263246ba..c6e1e1ad 100644 --- a/scripts/pyinstaller/build.sh +++ b/scripts/pyinstaller/build.sh @@ -79,7 +79,6 @@ excl=( email.parser importlib.resources importlib_resources - inspect multiprocessing packaging pdb @@ -99,6 +98,7 @@ excl=( PIL.ImageWin PIL.PdfParser ) || excl+=( + inspect PIL PIL.ExifTags PIL.Image