Skip to content

Commit 3635b06

Browse files
committed
respose -> response
1 parent 2894850 commit 3635b06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qiita_db/handlers/analysis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async def get(self, analysis_id):
6666
"""
6767
chunk_len = 1024 * 1024 * 1 # 1 MiB
6868

69-
respose = None
69+
response = None
7070
with qdb.sql_connection.TRN:
7171
a = _get_analysis(analysis_id)
7272
mf_fp = qdb.util.get_filepath_information(
@@ -76,7 +76,7 @@ async def get(self, analysis_id):
7676
mf_fp, index='#SampleID')
7777
response = dumps(df.to_dict(orient='index'))
7878

79-
if respose is not None:
79+
if response is not None:
8080
crange = range(chunk_len, len(response)+chunk_len, chunk_len)
8181
for i, (win) in enumerate(crange):
8282
# sending the chunk and flushing
@@ -91,4 +91,4 @@ async def get(self, analysis_id):
9191
await gen.sleep(0.000000001) # 1 nanosecond
9292

9393
else:
94-
respose.write(None)
94+
self.write(None)

0 commit comments

Comments
 (0)