From: Oleg Broytman Date: Mon, 4 Jul 2016 15:24:51 +0000 (+0300) Subject: Fix torrent VFS: announce sublist can be empty X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=910d9e2832ce15a7f1181a57e9e2adba7c74edd0;p=extfs.d.git Fix torrent VFS: announce sublist can be empty --- 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]