Modular-Python-Bitcoin-Miner icon indicating copy to clipboard operation
Modular-Python-Bitcoin-Miner copied to clipboard

Compatibility with pyserial 2.3-1

Open coblee opened this issue 13 years ago • 1 comments

I'm running MPBM on raspberry pi. Debian Squeeze does not come with python3-serial. The pyserial on it is version 2.3-1 and it's a little different. In order to make your code compatible with 2.3-1, you just need to change this line:

https://github.com/TheSeven/Modular-Python-Bitcoin-Miner/blob/testing/modules/theseven/bflsingle/bflsingleworker.py#L157

and remove the None at the end. In pyserial 2.6, it defaults to None if you don't pass in anything. So this change should work for both versions.

coblee avatar Jun 08 '12 04:06 coblee

Yes, I'm aware of this... Will probably change that during the next days while having a look at some recent regressions on the testing branch.

TheSeven avatar Jun 08 '12 09:06 TheSeven