Skip to content

Commit

Permalink
More consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
grammarware committed Feb 12, 2013
1 parent d237bae commit 31148c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions updWikipedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def safelyLoadURL(url):
continue
for chunk in line.split('[')[1:]:
name = chunk.split(']')[0]
if chunk.find('](')<0 or chunk.find('))')<0:
print 'Skip line',chunk.strip()
continue
link = chunk.split('](')[1].split('))')[0]
if name == 'Wikipedia':
links.append(link)
Expand Down
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from d0363f to 723ec2

0 comments on commit 31148c6

Please sign in to comment.