Fixed extra CS assertion after data transfer completed
Merge pull request #8 from tomdean1/master

Fixed extra CS assertion after data transfer completed
add some ifdefs to make it compile on python2
Merge remote-tracking branch 'upstream/master'