Skip to content

Commit

Permalink
oops: fix socket info, must define a new dict to populate!
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@17824 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 2, 2018
1 parent 3cc5c7e commit 60b97db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/server/server_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ def get_socket_info(self):
si.setdefault(socktype, {}).setdefault("listeners", []).append(info)
for socktype, auth_classes in self.auth_classes.items():
if auth_classes:
authenticators = si.setdefault(socktype, {})["authenticator"]
authenticators = si.setdefault(socktype, {}).setdefault("authenticator", {})
for i, auth_class in enumerate(auth_classes):
authenticators[i] = auth_class[0], auth_class[2]
return si
Expand Down

0 comments on commit 60b97db

Please sign in to comment.