set a default value for guilds_by_id middleman variable so that it has the right scope (?)
This commit is contained in:
parent
52d3d39241
commit
866145e61e
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ class TextSettingsWindow(SettingsWindow):
|
|||
self.guild_lookup.append(guild)
|
||||
g_model.append([guild_name, True])
|
||||
|
||||
guilds_by_id = "0"
|
||||
if self.guild == "0":
|
||||
c_model.append([guild_name, False])
|
||||
guilds_by_id = guild_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue