Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network_webui/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network_webui/app.py')
-rw-r--r--sugar_network_webui/app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar_network_webui/app.py b/sugar_network_webui/app.py
index c464dfa..1b07af6 100644
--- a/sugar_network_webui/app.py
+++ b/sugar_network_webui/app.py
@@ -98,8 +98,8 @@ def timedelta(mtime):
def get_colors():
- from .client import commands_processor
- if commands_processor._offline:
+ from . import client
+ if client.anonymous:
return ('#000000', '#000000')
try: