PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
346 stars 88 forks source link

text.py wrong indentation #18

Closed francesco-vannini closed 8 years ago

francesco-vannini commented 8 years ago

the indentation of the snippet below is still not right. Am I missing something here?

else:
                # No space left on line so move to next one
text_lines.append("")
                current_line += 1
text_lines[current_line] += " " + word
YoungAtHome commented 8 years ago

Delete all characters to left of text including any (unexpanded) tabs and hidden characters, and replace with the right amount of spaces.

Regards, Nick On 21 Mar 2016 4:01 pm, "Garage Tech" notifications@github.com wrote:

the indentation of the snippet below is still not right. Am I missing something here?

else:

No space left on line so move to next one

text_lines.append("") current_line += 1 text_lines[current_line] += " " + word

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/PiSupply/PaPiRus/issues/18

francesco-vannini commented 8 years ago

Thanks Nick, I get that. What I meant is to understand why had the file not been fixed yet. Forgive me I am pretty new to GitHub but it seems quite a trivial fix.

shawaj commented 8 years ago

This should be fixed now in the latest commit.

Can you try pulling down the latest code and testing it?

shawaj commented 8 years ago

@francesco-vannini @YoungAtHome - can you verify this is now working ok?

shawaj commented 8 years ago

Closing as this has been fixed.