Skip to content

Commit ec97a08

Browse files
committed
fix error
1 parent c43d4d8 commit ec97a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiita_pet/handlers/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def get(self, extras):
266266
self.set_header('Content-Type', 'application/octet-stream')
267267
self.set_header('Content-Transfer-Encoding', 'binary')
268268
self.set_header('X-Accel-Redirect',
269-
'/protected-working_dir/' + relpath.decode('ascii'))
269+
f'/protected-working_dir/{relpath}')
270270
self.finish()
271271

272272

0 commit comments

Comments
 (0)