mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 12:42:50 +00:00
nix-channel: fix bug when getting path-info
This commit is contained in:
parent
a920654c8b
commit
86950766c9
@ -314,7 +314,7 @@ def update_channels(channels):
|
|||||||
for info in infos:
|
for info in infos:
|
||||||
ha = hash_part(info['path'])
|
ha = hash_part(info['path'])
|
||||||
todo[ha] = (info['url'], f'{ha}.narinfo')
|
todo[ha] = (info['url'], f'{ha}.narinfo')
|
||||||
|
else:
|
||||||
logging.info(f' - {len(todo)} paths to download')
|
logging.info(f' - {len(todo)} paths to download')
|
||||||
|
|
||||||
digits = len(str(len(todo)))
|
digits = len(str(len(todo)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user