Skip to content

Commit

Permalink
Change Frog url
Browse files Browse the repository at this point in the history
  • Loading branch information
jlonij committed Dec 9, 2016
1 parent 5da0712 commit 2f5d2ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 13,7 @@

from segtok import segmenter, tokenizer

FROG_URL = 'http://kbresearch.nl/frogger/?'
FROG_URL = 'http://www.kbresearch.nl/frogger/?'


class DocumentReader(object):
Expand Down
1 change: 0 additions & 1 deletion web.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 21,6 @@ def index():
os.makedirs(doc_dir)
doc_files = request.files.getall('doc_files[]')
for f in doc_files:
print f.filename
name, ext = os.path.splitext(f.filename)
if ext == '.txt' or ext == '.json':
f.save(doc_dir)
Expand Down

0 comments on commit 2f5d2ba

Please sign in to comment.