Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo

  • Loading branch information...
commit 116e2d8e060b0eccc41cfd1cbeb959a53fa16d74 1 parent 0205ccc
@EdwardBetts EdwardBetts authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  openlibrary/plugins/inside/code.py
View
2  openlibrary/plugins/inside/code.py
@@ -157,7 +157,7 @@ def find_doc(ia, host, path):
abbyy_gz = '_abbyy.gz'
files_xml = 'http://%s%s/%s_files.xml' % (host, path, ia)
for e in etree.parse(files_xml).getroot():
- if e.attrib['name'].endswith(abbyy_gz)
+ if e.attrib['name'].endswith(abbyy_gz):
return e.attrib['name'][:-len(abbyy_gz)]
def find_matches(ia, q):
Please sign in to comment.
Something went wrong with that request. Please try again.