Skip to content

Commit

Permalink
remove 1 unused import, don't treat aw-server as a special case in cr…
Browse files Browse the repository at this point in the history
…eating module menu
  • Loading branch information
xylix committed Mar 4, 2020
1 parent 94dc1df commit 7a67423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aw_qt/config.py
@@ -1,5 +1,5 @@
from configparser import ConfigParser
from typing import ClassVar, List
from typing import List

from aw_core.config import load_config
import json
Expand Down
5 changes: 1 addition & 4 deletions aw_qt/trayicon.py
Expand Up @@ -118,11 +118,8 @@ def add_module_menuitem(module):
ac.setCheckable(True)
ac.setChecked(module.is_alive())

add_module_menuitem(self.manager.modules["aw-server"])

for module_name in sorted(self.manager.modules.keys()):
if module_name != "aw-server":
add_module_menuitem(self.manager.modules[module_name])
add_module_menuitem(self.manager.modules[module_name])


def exit(manager: Manager):
Expand Down

0 comments on commit 7a67423

Please sign in to comment.