Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: 'return' outside function #11

Closed
OpenSourceIronman opened this issue Jun 2, 2020 · 1 comment
Closed

SyntaxError: 'return' outside function #11

OpenSourceIronman opened this issue Jun 2, 2020 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@OpenSourceIronman
Copy link
Contributor

OpenSourceIronman commented Jun 2, 2020

This should be a super easy fix. But my .nanorc config might be messing up tabs with spaces. Normally I just delete lines back (of ctrl-k cut) and hit return

Blazes-MacBook-Pro:v2020.0 blazesanders$ python Sensor.py
File "Sensor.py", line 304
return safe
SyntaxError: 'return' outside function

@OpenSourceIronman OpenSourceIronman added the help wanted Extra attention is needed label Jun 2, 2020
@OpenSourceIronman OpenSourceIronman pinned this issue Jun 2, 2020
@OpenSourceIronman OpenSourceIronman changed the title Been trying to fix this for 15 mins!!!!! SyntaxError: 'return' outside function Jun 3, 2020
@OpenSourceIronman
Copy link
Contributor Author

I just needed to delete more lines above error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants