remove needless appending of "0" to channel_lookup
This commit is contained in:
parent
e11ba8eb96
commit
f6da14636a
1 changed files with 1 additions and 2 deletions
|
|
@ -47,12 +47,11 @@ class TextSettingsWindow(SettingsWindow):
|
|||
|
||||
c_model = Gtk.ListStore(str, bool)
|
||||
g_model = Gtk.ListStore(str, bool)
|
||||
self.channel_lookup = []
|
||||
self.channel_lookup = ["0"]
|
||||
self.guild_lookup = ["0"]
|
||||
|
||||
for guild in self.guild_list():
|
||||
guild_id, guild_name = guild
|
||||
self.channel_lookup.append('0')
|
||||
self.guild_lookup.append(guild)
|
||||
g_model.append([guild_name, True])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue