# -*- coding: utf-8 -*-

# -*- coding: utf-8 -*-
from submodules.spam_lists_lib.spam_lists import GoogleSafeBrowsing

from . import app

google_safe_browsing = GoogleSafeBrowsing(
    'url-shortener',
    '0.9',
    app.config['GOOGLE_SAFE_BROWSING_API_KEY']
)

Add instance of GoogleSafeBrowsing to url_shortener.validation