Fehler bei Vergabe von Bonuspunkte korrigiert.
Kommentare für Bonuspunkte werden jetzt als Kommentar beim Spieler hinterlassen, nicht als Kommentar in der Hanchan. FIXED: 3_in_a_row counter wurde nicht zurückgesetzt wenn Bonuspunkte vergeben wurden. FIXED: Durchschnittliche Platzierung während eines Events wurde nur als Ganzzahl berechnet. Wird nun als Fießkomma berechnet und gesichert.
This commit is contained in:
@@ -12,12 +12,11 @@ import json
|
||||
class Command(BaseCommand):
|
||||
help = "Synchornisiert den Facenbook Feed für die Anzeige auf der Homepage"
|
||||
|
||||
|
||||
def handle(self, *args, **options):
|
||||
#graph_api = facebook.GraphAPI(settings.FACEBOOK_ACCESS_TOKEN)
|
||||
#facebook_page = graph_api.get_object(settings.FACEBOOK_APP_ID+'/feed/')
|
||||
#print facebook_page
|
||||
#print graph_api.get_connections(facebook_page['id'], )
|
||||
# print facebook_page
|
||||
# print graph_api.get_connections(facebook_page['id'], )
|
||||
self.login()
|
||||
|
||||
def login(self):
|
||||
@@ -31,4 +30,4 @@ class Command(BaseCommand):
|
||||
print request
|
||||
response = request.read()
|
||||
print response
|
||||
print json.loads(response)
|
||||
print json.loads(response)
|
||||
|
||||
Reference in New Issue
Block a user