Skip to content

Commit

Permalink
Another syntax change
Browse files Browse the repository at this point in the history
  • Loading branch information
mak448a committed Mar 20, 2024
1 parent c4e704b commit 1336e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def get_servers(self):
for i, guild in enumerate(self.guilds):
buttons[i] = QPushButton(text=guild["name"])
# icon = QIcon(QIcon.fromTheme(u"io.github.mak448a.QTCord"))
if os.path.exists(os.path.join(platformdirs.user_config_dir("QTCord"), "servers", f"{guild["id"]}.png")):
if os.path.exists(os.path.join(platformdirs.user_config_dir("QTCord"), "servers", f"{guild['id']}.png")):
icon = QIcon(os.path.join(platformdirs.user_config_dir("QTCord"), "servers", f"{guild['id']}.png"))
else:
icon = QIcon(os.path.join(current_dir, "assets", "server.png"))
Expand Down

0 comments on commit 1336e9b

Please sign in to comment.