summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2015-04-27 18:11:38 -0300
committerJefferson Stachelski <jstachel@thoughtworks.com>2015-04-27 18:11:38 -0300
commite07559eebcf2dca60d91b20dc901609f59156f82 (patch)
treec5af8a4120928d11425e3887dd4f627691d439f0
parent9234ef399cac44dcdc8dab11c20dd162953e447c (diff)
#337 Fixed the if __name__ is __main__ to run the app
-rw-r--r--service/pixelated/maintenance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/maintenance.py b/service/pixelated/maintenance.py
index 8c20e097..2cb50dfe 100644
--- a/service/pixelated/maintenance.py
+++ b/service/pixelated/maintenance.py
@@ -165,5 +165,5 @@ def shutdown_on_error(error):
print error
reactor.stop()
-if __name__ == 'main':
+if __name__ == '__main__':
initialize()