Skip to content

Commit

Permalink
Fix main package imports (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresp authored Jan 16, 2024
1 parent cf749f7 commit 9040e35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/docsismodem/collectionJob.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import functools
from logging import Logger
from sched import scheduler
from modems.observablemodem import ObservableModem
from .modems.observablemodem import ObservableModem

class collectionJob():

Expand Down
2 changes: 1 addition & 1 deletion src/docsismodem/probe.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import datetime
from flask_healthz import HealthError
from collectionJob import collectionJob
from .collectionJob import collectionJob


class Probe():
Expand Down
6 changes: 3 additions & 3 deletions src/docsismodem/retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
from requests.packages import urllib3
import schedule
import time
from modems.observablemodemfactory import ObservableModemFactory
from .modems.observablemodemfactory import ObservableModemFactory

from flask import Flask
from flask_healthz import healthz

from probe import Probe
from collectionJob import collectionJob
from .probe import Probe
from .collectionJob import collectionJob

def main():
consoleLogger.info("Connecting to InfluxDB")
Expand Down

0 comments on commit 9040e35

Please sign in to comment.