Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Change the name of the first background image
Browse files Browse the repository at this point in the history
Which image we pick doesn't matter, but our logic only looks for
the first one, it doesn't loop through all possible matches.
  • Loading branch information
Francois Marier committed May 17, 2013
1 parent fe3bc55 commit fbe16b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-persona-url.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_static_png(persona_org):
print ' ERROR: Could not find background-image url in /%s' % css_file
return
path = match.group(1)
if not path.endswith('/common/i/grain.png'):
if not path.endswith('/common/i/closex.png'):
print ' ERROR: Found background-image url but it is the wrong one: %s' % path
return
return path
Expand Down

0 comments on commit fbe16b8

Please sign in to comment.