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)),