lfoppiano commited on
Commit
99b8cb9
·
verified ·
1 Parent(s): 3e5af34

Update service.py

Browse files
Files changed (1) hide show
  1. service.py +1 -1
service.py CHANGED
@@ -120,7 +120,7 @@ class Handler(http.server.SimpleHTTPRequestHandler):
120
  with open(file_path, 'r') as file:
121
  content = file.read()
122
 
123
- response = content.decode()
124
 
125
  except urllib.error.URLError as e:
126
  self.send_error(500, f"Failed to download file: {str(e)}")
 
120
  with open(file_path, 'r') as file:
121
  content = file.read()
122
 
123
+ response = content
124
 
125
  except urllib.error.URLError as e:
126
  self.send_error(500, f"Failed to download file: {str(e)}")