From 5e749801ef1999e25f2ebd74e35fa9a251ceff91 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Date: Wed, 9 Nov 2016 15:16:35 +0100 Subject: [PATCH] =?UTF-8?q?Only=20need=20to=20check=20if=20issue=E2=80=99s?= =?UTF-8?q?=20location=20is=20available,=20because=20on=20reading=20list?= =?UTF-8?q?=20it=20will=20have=20the=20complete=20path=20to=20the=20file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/interfaces/default/readinglist.html | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/data/interfaces/default/readinglist.html b/data/interfaces/default/readinglist.html index beb1775d..05d76b59 100755 --- a/data/interfaces/default/readinglist.html +++ b/data/interfaces/default/readinglist.html @@ -164,18 +164,8 @@ - <% - if issue['Location'] is not None: - linky = issue['Location'] - if not os.path.isfile(linky): - if mylar.MULTIPLE_DEST_DIRS is not None and mylar.MULTIPLE_DEST_DIRS != 'None': - linky = os.path.join(mylar.MULTIPLE_DEST_DIRS,issue['Location']) - else: - linky = None - else: - linky = None - %> - %if linky: + + %if issue['Location'] is not None: %endif