mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Added admin settings page. Improve dynamic_preferences integration.
This commit is contained in:
@ -7,7 +7,8 @@ class YoutubeAPI(YouTube):
|
||||
|
||||
@staticmethod
|
||||
def build_public() -> 'YoutubeAPI':
|
||||
return YoutubeAPI(key=settings.YOUTUBE_API_KEY)
|
||||
from YtManagerApp.management.appconfig import youtube_api_key
|
||||
return YoutubeAPI(key=youtube_api_key)
|
||||
|
||||
# @staticmethod
|
||||
# def build_oauth() -> 'YoutubeAPI':
|
||||
|
Reference in New Issue
Block a user