python 3.3. bottle code update