Made a.m.blender_cloud a module directory

Moved original file contents to blender_cloud/texture_lib.py, to allow
space for a future blender_cloud/home_project.py file.
This commit is contained in:
Sybren A. Stüvel 2016-06-14 11:34:07 +02:00
parent 57e07db972
commit ec7b3159ac
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
def setup_app(app, url_prefix):
from . import texture_libs
texture_libs.setup_app(app, url_prefix=url_prefix)

View File

@ -18,7 +18,7 @@ TEXTURE_LIBRARY_QUERY_ARGS = {
'max_results': 'null', # this needs to be there, or we get a KeyError.
}
blueprint = Blueprint('blender_cloud', __name__)
blueprint = Blueprint('blender_cloud.texture_libs', __name__)
log = logging.getLogger(__name__)