Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/__init__.py", line 700, in __call__
handler.get(*groups)
File "/Users/linzhizhao/Develop/v2ex/notifications.py", line 46, in get
self.member.private_token = hashlib.sha256(str(self.member.num) + ';' + config.site_key).hexdigest()
AttributeError: 'module' object has no attribute 'site_key'
在本地测试的情况下:虽然注释掉 46 行可以打开,但是,notifications feed就取不了值。
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/__init__.py", line 700, in __call__
handler.get(*groups)
File "/Users/linzhizhao/Develop/v2ex/notifications.py", line 46, in get
self.member.private_token = hashlib.sha256(str(self.member.num) + ';' + config.site_key).hexdigest()
AttributeError: 'module' object has no attribute 'site_key'
在本地测试的情况下:虽然注释掉 46 行可以打开,但是,notifications feed就取不了值。