Skip to content

Commit 24c02b5

Browse files
committed
Fix network loading of example files
1 parent 8097c8c commit 24c02b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/examples.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ def handleNetworkResponse(self, reply):
120120
elif name.lower().endswith(".py"):
121121
self.imported.emit(name, str(data, 'utf-8'), ctx)
122122
else:
123-
self.additional_file_loaded(ctx["dst"], data, ctx)
124-
123+
self.additional_file_loaded(reply.property("name"), bytes(data), ctx)
125124
except Exception as e:
126125
print("Examples network exception:", str(e))
127126
else:

0 commit comments

Comments
 (0)