Skip to content

Commit

Permalink
Move import to the top.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed May 8, 2017
1 parent f6406a0 commit 32a7506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybossa/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from pybossa.model.webhook import Webhook
from pybossa.util import with_cache_disabled, publish_channel
import pybossa.dashboard.jobs as dashboard
from pbsonesignal import PybossaOneSignal


def schedule_job(function, scheduler):
Expand Down Expand Up @@ -736,7 +737,6 @@ def check_failed():
def create_onesignal_app(project_id):
"""Create onesignal app."""
from flask import url_for
from pbsonesignal import PybossaOneSignal
from pybossa.core import project_repo
auth_key = current_app.config.get('ONESIGNAL_AUTH_KEY')
if auth_key:
Expand Down

0 comments on commit 32a7506

Please sign in to comment.