Skip to content

Commit 47cc5de

Browse files
Allow logo.64.png for logos
1 parent f9cf0be commit 47cc5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc-tools/import-contest.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ if import_file('organizations', ['organizations.json']):
151151
# Also import logos if we have any
152152
# We prefer the 64x64 logo. If it doesn't exist, accept a generic logo (which might be a SVG)
153153
# We also prefer PNG/SVG before JPG
154-
import_images('organizations', 'logo', ['^logo\\.64x\\d+\\.png$', '^logo\\.(png|svg)$', '^logo\\.64x\\d+\\.jpg$', '^logo\\.jpg$'])
154+
import_images('organizations', 'logo', ['^logo\\.64(x\\d+)?\\.png$', '^logo\\.(png|svg)$', '^logo\\.64(x\\d+)?\\.jpg$', '^logo\\.jpg$'])
155155
if import_file('teams', ['teams.json', 'teams2.tsv']):
156156
# Also import photos if we have any, but prefer JPG over SVG and PNG
157157
import_images('teams', 'photo', ['^photo\\.jpg$', '^photo\\.(png|svg)$'])

0 commit comments

Comments
 (0)