[gimp-web/testing] meta: add mirrors list to downloads/devel



commit 9e0379549a731f1e8c4876c04b5fcae7bd7bfce4
Author: Pat David <patdavid gmail com>
Date:   Wed Apr 18 14:07:41 2018 -0500

    meta: add mirrors list to downloads/devel

 plugins/gimp_mirrors/gimp_mirrors.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gimp_mirrors/gimp_mirrors.py b/plugins/gimp_mirrors/gimp_mirrors.py
index ab51eb1..4b97283 100644
--- a/plugins/gimp_mirrors/gimp_mirrors.py
+++ b/plugins/gimp_mirrors/gimp_mirrors.py
@@ -57,7 +57,8 @@ def do_mirrors(path, context):
     path = path.replace( os.path.sep, '/' )
 
     # if we are on a downloads page
-    if '/downloads/index.html' in path:
+    #if '/downloads/index.html' in path:
+    if '/downloads/' in path:
 
         # create mirrors dict
         mirrors = {}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]