Bläddra i källkod

Forgot to pass the silly context thing.

pull/24/head
Ben Kurtovic 12 år sedan
förälder
incheckning
dc96cf1a2e
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      toolserver/background.py

+ 2
- 2
toolserver/background.py Visa fil

@@ -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):


Laddar…
Avbryt
Spara