fix module import

This commit is contained in:
Peerchemist 2019-01-23 14:55:04 +01:00
parent 4f5f438304
commit 2daf34d01e
3 changed files with 11 additions and 6 deletions

View file

@ -1 +1 @@
from app import Timeloop from timeloop.app import Timeloop

View file

@ -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(): class Timeloop():
def __init__(self): def __init__(self):

View file

@ -1,4 +1,5 @@
from exceptions import ServiceExit from timeloop.exceptions import ServiceExit
def service_shutdown(signum, frame): def service_shutdown(signum, frame):
raise ServiceExit raise ServiceExit