Bladeren bron

Forgot to pass the silly context thing.

pull/24/head
Ben Kurtovic 12 jaren geleden
bovenliggende
commit
dc96cf1a2e
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      toolserver/background.py

+ 2
- 2
toolserver/background.py Bestand weergeven

@@ -12,7 +12,7 @@ from .misc import get_bot, open_sql_connection

_descurl = None

def set_background(cookies, selected):
def set_background(context, cookies, selected):
global _descurl
conn = open_sql_connection(get_bot(), "globals")
if "EarwigScreenCache" in cookies:
@@ -35,7 +35,7 @@ def set_background(cookies, selected):
_descurl = descurl
return bg_url

def get_desc_url():
def get_desc_url(context):
return _descurl

def _update_url(conn, service, bg_id, callback):


Laden…
Annuleren
Opslaan