jinglemansweep / PyLMS

Logitech Media Server (Squeezebox Server, SqueezeCenter, SlimServer) API for Python
58 stars 35 forks source link

Inconsistent indentation #15

Open BigMan200 opened 7 years ago

BigMan200 commented 7 years ago

Hi, 1st of all: thanks to the contributors for this great module. Although I am pretty new to python, I had following issue:

I installed PyLMS under Python3.6. My application gave me following error-message: File "/usr/lib/python3.6/site-packages/pylms/player.py", line 607 self.request("sync -") ^ TabError: inconsistent use of tabs and spaces in indentation

Not a big deal. When I opened the file player.py with an editor I could see, that usually blank-spaces where used for indentation. But in line 607 it was a tab. All what I had to do was to change the indentation from tab to blank-spaces and the issue was fixed.

heiderich commented 7 years ago

I also experience this issue with python3.4. This was fixed in commit 57528ae89c87bde0be129e05622cb258a3106dee.

thisoldgeek commented 6 years ago

I'm still getting this issue with python 3.5 using pip3 to install. I used bigman2000's fix.