|
@@ -8,13 +8,12 @@ import os
|
|
|
|
|
|
# Third party modules
|
|
|
from aiohttp import web
|
|
|
-# from davtelepot import Bot
|
|
|
|
|
|
# Project modules
|
|
|
from data.config import (
|
|
|
log_file_name, errors_file_name, app_host, app_port
|
|
|
)
|
|
|
-# from data.passwords import bot_token
|
|
|
+from data.passwords import pull_token
|
|
|
|
|
|
path = os.path.dirname(__file__)
|
|
|
log_file = "{}/data/{}".format(path, log_file_name)
|
|
@@ -82,7 +81,7 @@ async def test(request):
|
|
|
return str(datetime.datetime.now())
|
|
|
|
|
|
|
|
|
-@page('/pull/image-editor/nZ7Vgm9SSg4vNBy3ytG')
|
|
|
+@page('/pull/t/image-editor'.format(t=pull_token))
|
|
|
async def pull_image_editor_project(request):
|
|
|
"""Git pull at request."""
|
|
|
try:
|