mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
nix-channels: '...' -> b'...' when dealing with paths
This commit is contained in:
parent
2fda084533
commit
fe4884f235
@ -298,8 +298,8 @@ def update_channels(channels):
|
|||||||
paths = [
|
paths = [
|
||||||
path
|
path
|
||||||
for path in paths
|
for path in paths
|
||||||
if 'texlive-2022-env-man' not in path
|
if b'texlive-2022-env-man' not in path
|
||||||
and 'texlive-2022-env-info' not in path
|
and b'texlive-2022-env-info' not in path
|
||||||
]
|
]
|
||||||
|
|
||||||
# Batch paths to avoid E2BIG
|
# Batch paths to avoid E2BIG
|
||||||
@ -409,8 +409,8 @@ def garbage_collect():
|
|||||||
paths = [
|
paths = [
|
||||||
path
|
path
|
||||||
for path in paths
|
for path in paths
|
||||||
if 'texlive-2022-env-man' not in path
|
if b'texlive-2022-env-man' not in path
|
||||||
and 'texlive-2022-env-info' not in path
|
and b'texlive-2022-env-info' not in path
|
||||||
]
|
]
|
||||||
|
|
||||||
for i in range(0, len(paths), PATH_BATCH):
|
for i in range(0, len(paths), PATH_BATCH):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user