Skip to content

Commit 2f03201

Browse files
Remove some empty lines.
1 parent 52aaee2 commit 2f03201

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

server.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async def websocket_handler(request):
111111
# On reconnect if we are the currently executing client send the current node
112112
if self.client_id == sid and self.last_node_id is not None:
113113
await self.send("executing", { "node": self.last_node_id }, sid)
114-
114+
115115
async for msg in ws:
116116
if msg.type == aiohttp.WSMsgType.ERROR:
117117
logging.warning('ws connection closed with exception %s' % ws.exception())
@@ -132,9 +132,9 @@ def get_embeddings(self):
132132
async def get_extensions(request):
133133
files = glob.glob(os.path.join(
134134
glob.escape(self.web_root), 'extensions/**/*.js'), recursive=True)
135-
135+
136136
extensions = list(map(lambda f: "/" + os.path.relpath(f, self.web_root).replace("\\", "/"), files))
137-
137+
138138
for name, dir in nodes.EXTENSION_WEB_DIRS.items():
139139
files = glob.glob(os.path.join(glob.escape(dir), '**/*.js'), recursive=True)
140140
extensions.extend(list(map(lambda f: "/extensions/" + urllib.parse.quote(
@@ -154,7 +154,7 @@ def get_dir_by_type(dir_type):
154154
type_dir = folder_paths.get_output_directory()
155155

156156
return type_dir, dir_type
157-
157+
158158
def compare_image_hash(filepath, image):
159159
# function to compare hashes of two images to see if it already exists, fix to #3465
160160
if os.path.exists(filepath):
@@ -167,7 +167,7 @@ def compare_image_hash(filepath, image):
167167
f.close()
168168
return a.hexdigest() == b.hexdigest()
169169
return False
170-
170+
171171
def image_upload(post, image_save_function=None):
172172
image = post.get("image")
173173
overwrite = post.get("overwrite")
@@ -205,7 +205,7 @@ def image_upload(post, image_save_function=None):
205205
filepath = os.path.join(full_output_folder, filename)
206206
i += 1
207207

208-
if not image_is_duplicate:
208+
if not image_is_duplicate:
209209
if image_save_function is not None:
210210
image_save_function(image, post, filepath)
211211
else:

0 commit comments

Comments
 (0)