Skip to content
Browse files

Oops, invalid syntax

  • Loading branch information...
1 parent c059ba9 commit 730aeab36b58afe7aeec1d6b4d4d83a028316a22 @tualatrix committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 imtx/apps/blog/management/commands/update_pm25.py
View
2 imtx/apps/blog/management/commands/update_pm25.py
@@ -21,7 +21,7 @@ def handle(self, *args, **options):
for city, data in pmdata['cities'].items():
message = u'%s %s空气质量】' % (pmdata['date'], city) + u'PM2.5浓度: %(concentration)s ug/m3, AQI: %(aqi)s, 等级: %(category)s' % data
print message
- os.system(u'/home/tualatrix/public_html/imtx.me/bin/twitter set "%s"' % (message)
+ os.system(u'/home/tualatrix/public_html/imtx.me/bin/twitter set "%s"' % (message))
time.sleep(3)
f = open('timestamp', 'w')

0 comments on commit 730aeab

Please sign in to comment.
Something went wrong with that request. Please try again.