fix module import
This commit is contained in:
parent
4f5f438304
commit
2daf34d01e
3 changed files with 11 additions and 6 deletions
|
@ -1 +1 @@
|
|||
from app import Timeloop
|
||||
from timeloop.app import Timeloop
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
import logging, sys, signal, time
|
||||
import logging
|
||||
import sys
|
||||
import signal
|
||||
import time
|
||||
|
||||
from timeloop.exceptions import ServiceExit
|
||||
from timeloop.job import Job
|
||||
from timeloop.helpers import service_shutdown
|
||||
|
||||
from exceptions import ServiceExit
|
||||
from job import Job
|
||||
from helpers import service_shutdown
|
||||
|
||||
class Timeloop():
|
||||
def __init__(self):
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
from exceptions import ServiceExit
|
||||
from timeloop.exceptions import ServiceExit
|
||||
|
||||
|
||||
def service_shutdown(signum, frame):
|
||||
raise ServiceExit
|
||||
|
|
Loading…
Reference in a new issue