Fixing improper casting in nickOSC.py