From 56c4259105cbc928e1c66afaffddabceda2b2e2c Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 19 Jan 2023 17:46:01 +0100 Subject: [PATCH] Fix minor comparison weirdness. --- tpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpkg b/tpkg index 34c8ff3..a9b3024 100755 --- a/tpkg +++ b/tpkg @@ -217,7 +217,7 @@ class vfspkg(object): def __iter__(self): def scan(lp, fp): - dpre = "" if (lp is "") else lp + "/" + dpre = "" if (lp == "") else lp + "/" for dent in os.scandir(fp): dpath = dpre + dent.name if dent.is_dir(): -- 2.11.0