예제 #1
0
파일: main.py 프로젝트: NeilBetham/accent
def calendar_gif(key=None, user=None):
    """Responds with a GIF version of the calendar image."""

    width, height = display_size(request)
    return content_response(calendar, gif_response, user, width, height)
예제 #2
0
파일: main.py 프로젝트: NeilBetham/accent
def artwork_gif(key=None, user=None):
    """Responds with a GIF version of the artwork image."""

    width, height = display_size(request)
    return content_response(artwork, gif_response, user, width, height)
예제 #3
0
파일: main.py 프로젝트: NeilBetham/accent
def gif(key=None, user=None):
    """Responds with a GIF version of the scheduled image."""

    width, height = display_size(request)
    return content_response(schedule, gif_response, user, width, height)
예제 #4
0
파일: main.py 프로젝트: NeilBetham/accent
def epd(key=None, user=None):
    """Responds with an e-paper display version of the scheduled image."""

    width, height = display_size(request)
    return content_response(schedule, epd_response, user, width, height)
예제 #5
0
파일: main.py 프로젝트: NeilBetham/accent
def everyone_gif(key=None, user=None):
    """Responds with a GIF version of the everyone image."""

    width, height = display_size(request)
    return content_response(everyone, gif_response, user, width, height)