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

IDE doesnt upload the correct version to tingbot #51

Open
sampsonij opened this issue Sep 22, 2016 · 1 comment
Open

IDE doesnt upload the correct version to tingbot #51

sampsonij opened this issue Sep 22, 2016 · 1 comment

Comments

@sampsonij
Copy link

I have just edited and tested a version.
I upload the code to tingbot and it doesnt work as it hjasnt uploaded the edited version just the old version.

Also changed a variable

options = {
'location': 'Retford, UK',
'unit': 'c',
'screen_brightness_day':100,
'screen_brightness_night':25,
'day_time_start_week':09,
'day_time_end_week':21,
'day_time_start_weekend':07,
'day_time_end_weekend':21,
'version':'3.0',
'day_colour':'black',
'night_colour':'white'

the 09 was changed from 06 and now it puts the 0 in white 9 in yellow and the editor throws an error.

@joerick
Copy link
Member

joerick commented Sep 22, 2016

Hi @sampsonij - by putting a zero in front of a number in python it's interpreting it as 'octal' form, which is probably not what you want. See http://stackoverflow.com/questions/11620151/what-do-numbers-starting-with-0-mean-in-python

Tide should run/upload whatever is in the editor when the run/upload button is pressed. I can't seem to recreate the bug here. Could you give a step-by-step process to recreate the bug where an old version is uploaded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants