From 910d9e2832ce15a7f1181a57e9e2adba7c74edd0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 4 Jul 2016 18:24:51 +0300 Subject: [PATCH] Fix torrent VFS: announce sublist can be empty --- torrent | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/torrent b/torrent index 1dccb65..ebc3ee2 100755 --- a/torrent +++ b/torrent @@ -35,9 +35,9 @@ The filesystem is, naturally, read-only. """ -__version__ = "1.2.3" +__version__ = "1.2.4" __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2010-2015 PhiloSoft Design" +__copyright__ = "Copyright (C) 2010-2016 PhiloSoft Design" __license__ = "GPL" @@ -308,7 +308,7 @@ def decode_datetime(dt): def decode_announce_list(announce): - return '\n'.join(l[0] for l in announce) + return '\n'.join(l[0] for l in announce if l) command = sys.argv[1] -- 2.39.2