Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/journal.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-12-10 21:21:44 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-12-10 21:21:44 (GMT)
commite2de0fbaefd8975c6f8c1afbfca0d2ba895ba1d0 (patch)
tree4d7d1b36a373a7892ae976752fafb64a6a9aa19c /journal.py
parent24d22475e4d5d2f3d46bba8cf4459a2ecbd6ff9f (diff)
more tweaking fo data logging code
Diffstat (limited to 'journal.py')
-rw-r--r--journal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/journal.py b/journal.py
index b01fbcb..d6a1a15 100644
--- a/journal.py
+++ b/journal.py
@@ -56,9 +56,9 @@ class DataLogger():
self.temp_buffer.append("%s: %s" % (_('User'), user))
self.temp_buffer.append("%s: %s" % (_('Interval'),
str(logging_interval)))
- self.temp_buffer.append("%s: %d" % (_('Channels'),
- channels))
-
+ if channels > 1:
+ self.temp_buffer.append("%s: %d" % (_('Channels'),
+ channels))
self.new_session = True
return self.activity.session_id