diff --git a/controldeck.py b/controldeck.py index dd1429c..e7afcb3 100755 --- a/controldeck.py +++ b/controldeck.py @@ -859,7 +859,7 @@ async def application(request): # remove '\t\tnode.name = ' and remove quotation marks at front and back tmp4['properties']['node.name'] = re.sub('[ \t]*node.name = ', '', k)[1:-1] tmp3.append(tmp4) - import xdg.IconTheme + #import xdg.IconTheme #print(tmp3) #icon_name = '' #icon_name = i['properties']['application.icon_name'] if 'application.icon_name' in i['properties'] else icon_name diff --git a/data/controldeck.service b/data/controldeck.service index ede8608..54f56ad 100644 --- a/data/controldeck.service +++ b/data/controldeck.service @@ -6,7 +6,7 @@ After=network.target [Service] Environment=PYTHONUNBUFFERED=1 TimeoutStartSec=30 -ExecStartPre=/bin/sh -c 'source /etc/profile' +#ExecStartPre=/bin/sh -c 'source /etc/profile' ExecStart=/usr/bin/controldeck Restart=on-failure RestartSec=4