target value is fixed in openwrt now
authorMoritz Warning <moritzwarning@web.de>
Sun, 16 Feb 2020 17:42:42 +0000 (18:42 +0100)
committerMoritz Warning <moritzwarning@web.de>
Sun, 16 Feb 2020 17:42:48 +0000 (18:42 +0100)
misc/collect.py

index 01cc94c850b129442c53b2cd91cbdd00bb7b524d..0ce66786770de28f25163928c4f90ba2074116be 100755 (executable)
@@ -60,7 +60,7 @@ for path in paths:
       for image in obj['images']:
           images.append(image['name'])
 
-      target = obj['target'].strip('/') # small fix for stray '/'
+      target = obj['target']
       id = obj['id']
       for title in obj['titles']:
         if 'title' in title: