File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cython
22annoy == 1.16.3
33Flask
4- gunicorn [gevent ]== 20.0.4
5- ImageHash == 4.3.1
6- piexif == 1.1.3
4+ gunicorn [gevent ]
5+ ImageHash
6+ piexif
77Pillow
88PyYAML
99Werkzeug
@@ -12,10 +12,10 @@ tldextract
1212opencv-python
1313opencv-contrib-python
1414joblib
15- requests-cache == 0.5.2
16- redis == 3.5.2
15+ requests-cache
16+ redis
1717youtube_dl
1818bsddb3
19- cachetools == 4.2.2
20- MarkupSafe == 2.0.1
19+ cachetools
20+ MarkupSafe
2121python-dateutil
Original file line number Diff line number Diff line change @@ -110,9 +110,6 @@ def entity_too_large(e):
110110
111111@app .route ('/upload' , methods = ['POST' ])
112112def upload ():
113- # remove old requests from cache
114- cached_req_session .cache .remove_old_entries (datetime .now () - req_expire_after )
115-
116113 f = request .files ['file' ]
117114 filename = '{:016x}' .format (random .randint (0 , 1 << 128 ))
118115 path = os .path .join (app .config ['UPLOAD_FOLDER' ], filename )
@@ -129,9 +126,6 @@ def upload():
129126
130127@app .route ('/' )
131128def root ():
132- # remove old requests from cache
133- cached_req_session .cache .remove_old_entries (datetime .now () - req_expire_after )
134-
135129 return render_page ('sourcecatcher.html' )
136130
137131
You can’t perform that action at this time.
0 commit comments