Skip to content

Commit e5f1001

Browse files
committed
automatic code refactor
1 parent 440bb2a commit e5f1001

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

wolframwebengine/cli/commands/runserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async def main():
135135

136136
self.print_separator()
137137

138-
if sys.platform == 'win32':
138+
if sys.platform == "win32":
139139
self.print_line("(Press CTRL+BREAK to quit)")
140140
else:
141141
self.print_line("(Press CTRL+C to quit)")

wolframwebengine/web/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def make_generate_httpresponse_expression(request, expression):
3131

3232
def process_generate_httpresponse_expression(response):
3333
if isinstance(response, dict):
34-
if not response.get('BodyByteArray', None):
35-
#empty byte array is returning a an empty list, we need an empty byte array
36-
response['BodyByteArray'] = b''
34+
if not response.get("BodyByteArray", None):
35+
# empty byte array is returning a an empty list, we need an empty byte array
36+
response["BodyByteArray"] = b""
3737
return response
3838
return {
3939
"BodyByteArray": export(response, target_format="wl"),

0 commit comments

Comments
 (0)