summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-04-03 11:07:05 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-04-03 11:07:05 +0200
commit42a50f1e742a7b3dac87bd0d98889bf0ba12f912 (patch)
treece1549046ca31aeeaef791bd8161fdd452804ee8
parentwebif settings page (diff)
parentunit fix (diff)
downloadpyload-42a50f1e742a7b3dac87bd0d98889bf0ba12f912.tar.xz
merged
-rwxr-xr-xpyLoadCore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index ef042e4ec..e6a227552 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -266,8 +266,8 @@ class Core(object):
pass
freeSpace = self.freeSpace()
- if freeSpace > 10000:
- self.logger.info(_("Free space: %sGB") % (freeSpace / 1000))
+ if freeSpace > 10 * 1024:
+ self.logger.info(_("Free space: %sGB") % (freeSpace / 1024))
else:
self.logger.info(_("Free space: %sMB") % self.freeSpace())