Skip to content

Commit

Permalink
Fix call to collect.py
Browse files Browse the repository at this point in the history
This prevents the same flavour from always being picked by the
scan function and resolves freifunk-berlin#3.
  • Loading branch information
François Chavant committed Dec 1, 2021
1 parent f63a943 commit 2bc727c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_profiles_local.py
Expand Up @@ -46,7 +46,7 @@ def find_subdirs(url, regex):
os.mkdir(itype+"www/")
os.system("touch "+itype+"www/config.js")

command = "./misc/collect.py --image-url '"+link+"{target}' "+sys.argv[2]+" "+itype+"www/"
command = "./misc/collect.py --image-url '{}{{target}}' {}{} {}www/".format(link, sys.argv[2], itype, itype)
os.system(command)

src_dir = [f.path for f in os.scandir(itype+"www/data/") if f.is_dir()][0]
Expand Down

0 comments on commit 2bc727c

Please sign in to comment.