We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2658ff2 commit 6571b50Copy full SHA for 6571b50
1 file changed
ietf/ipr/search.py
@@ -41,7 +41,7 @@ def patent_file_search(url, q):
41
fname = url.split("/")[-1]
42
fpath = os.path.join(settings.IPR_DOCUMENT_PATH, fname)
43
#print "*** Checking file", fpath
44
- if os.path.exists(fpath):
+ if os.path.isfile(fpath):
45
#print "*** Found file", fpath
46
file = codecs.open(fpath, mode='r', encoding='utf-8', errors='replace')
47
text = file.read()
0 commit comments