From d17ec86483b0831f5cf2c1fee937274119ebad91 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 13 Jun 2007 17:13:30 +0000 Subject: [PATCH] fix networkgraph plugin for new module system --- plugins/NetworkGraph/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/NetworkGraph/plugin.py b/plugins/NetworkGraph/plugin.py index 2a96f05d6..82a9606be 100644 --- a/plugins/NetworkGraph/plugin.py +++ b/plugins/NetworkGraph/plugin.py @@ -111,9 +111,9 @@ class plugin_NetGraph: meanDownSpeed = sum(self.savedDownSpeeds)/len(self.savedDownSpeeds) shownSpeed = max(meanUpSpeed, meanDownSpeed) - import common + import deluge.common - self.pangoLayout.set_text(common.frate(shownSpeed)) + self.pangoLayout.set_text(deluge.common.frate(shownSpeed)) self.networkPixmap.draw_layout(self.image.get_style().black_gc, 4, int(self.height - 1 - (self.height*shownSpeed/maxSpeed)),