Tweaked file size units parsing.

file:ba74ec7a745c717657b4493ed42d53b4df4f9f80 -> file:14620f89c3875896529bd8832da1abfac8e15ffb
--- a/mp3togo/__init__.py
+++ b/mp3togo/__init__.py
@@ -21,5 +21,5 @@
# __all__ = ('converter', 'main', 'options', 'setup')
-version = '0.5.10'
+version = '0.5.11'
file:617c46556e1220ac0dc6efd99fc7ab3024e68010 -> file:bee7f320d82060a8aa6c09ff08e3fb57e30c0775
--- a/mp3togo/conf.py
+++ b/mp3togo/conf.py
@@ -204,6 +204,8 @@ Description:
def _units(self, name, value):
#Calculate raw bytes and set [max|temp|cache]size
try:
+ if value[-1] in ('b', 'B'):
+ value = value[:-1]
if value[-1] in ('m', 'M'):
max = long(value[:-1]) * 1048576L
elif value[-1] in ('g', 'G'):