avoid : in image paths - refs #2717

This commit is contained in:
Dane Springmeyer 2015-02-25 15:25:10 -08:00
parent 81a3be6e6f
commit 1506a1d867
41 changed files with 1 additions and 0 deletions

View file

@ -110,6 +110,7 @@ def drop_imported(tabname, overview):
psql_run('DROP TABLE IF EXISTS "o_' + of + '_' + tabname + '";') psql_run('DROP TABLE IF EXISTS "o_' + of + '_' + tabname + '";')
def compare_images(expected,im): def compare_images(expected,im):
expected = os.path.join(os.path.dirname(expected),os.path.basename(expected).replace(':','_'))
if not os.path.exists(expected) or os.environ.get('UPDATE'): if not os.path.exists(expected) or os.environ.get('UPDATE'):
print 'generating expected image %s' % expected print 'generating expected image %s' % expected
im.save(expected,'png32') im.save(expected,'png32')