Commit 37ed099f authored by Ziirish's avatar Ziirish

python 3.7 compatibility (fix #304)

parent a367a3d4
Pipeline #1609 passed with stage
in 14 minutes and 24 seconds
......@@ -57,6 +57,7 @@ build:py2:
only:
- master@ziirish/burp-ui
- demo@ziirish/burp-ui
- stable@ziirish/burp-ui
artifacts:
paths:
- dist/
......
Changelog
=========
0.6.6 (04/01/2019)
0.6.6 (04/02/2019)
------------------
- Fix: python 3.7 compatibility `#304 <https://git.ziirish.me/ziirish/burp-ui/issues/304>`__
- Fix: agent cannot start `#302 <https://git.ziirish.me/ziirish/burp-ui/issues/302>`__
0.6.5 (03/27/2019)
......
# -*- coding: utf8 -*-
"""
.. module:: burpui.ext.async
.. module:: burpui.ext.tasks
:platform: Unix
:synopsis: Burp-UI external Async module.
:synopsis: Burp-UI external Tasks module.
.. moduleauthor:: Ziirish <hi+burpui@ziirish.me>
......
......@@ -309,7 +309,7 @@ def create_celery(myapp, warn=True):
redis_url
myapp.config['CELERY_RESULT_BACKEND'] = redis_url
from .ext.async import celery
from .ext.tasks import celery
celery.conf.update(myapp.config)
if not hasattr(celery, 'flask_app'):
......
......@@ -23,7 +23,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '..
from burpui._compat import PY3 # noqa
from burpui.config import config # noqa
from burpui.ext.async import celery # noqa
from burpui.ext.tasks import celery # noqa
from burpui.ext.cache import cache # noqa
from burpui.sessions import session_manager # noqa
from burpui.server import BUIServer # noqa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment