geo update: fix missing symlinks

This commit is contained in:
rolux 2012-03-27 17:28:51 +02:00
commit 22f1cc26c0
87 changed files with 89 additions and 2 deletions

View file

@ -12,7 +12,7 @@ for file in os.listdir(svg_path):
if svg_file[-4:] == '.svg' and not os.path.islink(svg_file):
tmp_file = png_path + file + '.png'
png_file = tmp_file.replace('.svg.png', '.png')
if not os.path.exists(png_file):
if True: #not os.path.exists(png_file):
os.system('qlmanage -t -s 4096 -o ' + png_path + ' ' + svg_file)
while not os.path.exists(tmp_file):
pass