blueintegral / WaitOrWalk

The information you really want when waiting at the bus stop: is it quicker to wait or to walk? Only works for Georgia Tech right now.
9 stars 3 forks source link

Code Cleanup #5

Closed Tanner closed 11 years ago

Tanner commented 11 years ago

I cleaned up most of the code in server.py. It was more of an organization thing versus an efficiency thing. I have not even looked at the frontend code yet.

Most of things were just to make things consistent and become somewhat-compliant with Google's Python Style Guide.

I did make the rain detection code much simpler using regex (yay regex).

darkzeroman commented 11 years ago

Looks good to me. By the way, I have a major change to how server.py works about to be finished that will greatly improve the web app, so I wouldn't focus too on making further changes on server.py.

Tanner commented 11 years ago

Cool @darkzeroman. I can't find the code in your fork (I don't think you've pushed it to that yet), but what changes have you made?