From c1400e9a79720bf1ac91e1bf94e0bd4bcfe04407 Mon Sep 17 00:00:00 2001 From: wgw Date: Mon, 3 Mar 2008 00:21:50 -0600 Subject: [PATCH] parse bufsize from config --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 8f637bc..214137e 100644 --- a/config.py +++ b/config.py @@ -219,7 +219,7 @@ def getMaxVideoBR(): def getBuffSize(): try: - return config.get('Server', 'bufsize') + return str(int(strtod(config.get('Server', 'bufsize')))) except NoOptionError: #default 1024k return '1024k' -- 2.11.4.GIT