Fixed a little syntax error in string formatting in beat.py