mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-26 02:10:39 +01:00
unreal: fix TypeError in mode() from accessing set items by index
This commit is contained in:
parent
4b69edcbd7
commit
bd79c71b85
@ -207,6 +207,10 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
|
|
||||||
if utils.isChannel(target):
|
if utils.isChannel(target):
|
||||||
|
|
||||||
|
# Fix assignment TypeError in the expandPUID bit (sets can't be
|
||||||
|
# assigned to by index).
|
||||||
|
modes = list(modes)
|
||||||
|
|
||||||
# Make sure we expand any PUIDs when sending outgoing modes...
|
# Make sure we expand any PUIDs when sending outgoing modes...
|
||||||
for idx, mode in enumerate(modes):
|
for idx, mode in enumerate(modes):
|
||||||
if mode[0][-1] in self.prefixmodes:
|
if mode[0][-1] in self.prefixmodes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user