aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexey Loginov <alexl@mageia.org>2014-03-30 10:22:59 +0400
committerAlexey Loginov <alexl@mageia.org>2014-03-30 10:22:59 +0400
commite9da46728549f5b18248b5ee290848e611780e94 (patch)
tree4f3c23095ea61868de3c51dda29aff2c8077ba78 /src
parent5dff0d699511b399bbf9966ffb9ff8871c5465ba (diff)
downloadnet_monitor-e9da46728549f5b18248b5ee290848e611780e94.tar
net_monitor-e9da46728549f5b18248b5ee290848e611780e94.tar.gz
net_monitor-e9da46728549f5b18248b5ee290848e611780e94.tar.bz2
net_monitor-e9da46728549f5b18248b5ee290848e611780e94.tar.xz
net_monitor-e9da46728549f5b18248b5ee290848e611780e94.zip
Fix MGA#12882 (use of str() instead of unicode())
Diffstat (limited to 'src')
-rwxr-xr-xsrc/net_monitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_monitor b/src/net_monitor
index 1b123d3..7856442 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -495,7 +495,7 @@ class MonitorGui:
value = pretty_size
else:
value = "%s (%s)" % (pretty_size, pretty_bytes)
- self.ifaces[iface][widget].set_text(str(value))
+ self.ifaces[iface][widget].set_text(unicode(value))
GObject.timeout_add_seconds(interval, self.update)
def show_statistics_dialog(self, widget, iface):