Merge tag 'port_change' into develop

Changed port to 8001
This commit is contained in:
Fergal Moran
2015-09-25 20:10:50 +01:00
2 changed files with 9 additions and 8 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/sh
su -m djworker -c "python manage.py runserver_plus 0.0.0.0:8000"
su -m djworker -c "python manage.py runserver_plus 0.0.0.0:8001"

View File

@@ -49,13 +49,14 @@ class Activity(BaseModel):
else:
action_type = "deepsouthsounds:play"
social_account = SocialToken.objects.filter(account__user=self.user.user, account__provider='facebook')[0]
facebook = OpenFacebook(social_account.token)
notification_html = {
object: wrap_full(self.get_object_url())
}
result = facebook.set('me/%s' % action_type, notification_html)
print(result)
if False:
social_account = SocialToken.objects.filter(account__user=self.user.user, account__provider='facebook')[0]
facebook = OpenFacebook(social_account.token)
notification_html = {
object: wrap_full(self.get_object_url())
}
result = facebook.set('me/%s' % action_type, notification_html)
print(result)
except Exception as ex:
print(ex)
pass