Skip to content

Commit

Permalink
style: move imports to head of file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Jan 30, 2019
1 parent b096a24 commit ef3a6fb
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions lbsntransform/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,25 @@
- local ProtoBuf and CSV Import (prepared for Postgres /Copy)
"""

import logging
import io

__author__ = "Alexander Dunkel"
__license__ = "GNU GPLv3"
# version: see version.py

import io
import logging
import sys

from .classes.helper_functions import HelperFunctions as HF
from .classes.helper_functions import TimeMonitor
from .classes.load_data import LoadData
from .classes.submit_data import LBSNTransfer
from .config.config import BaseConfig


def main():
""" Main function to process data from postgres db or local file input
to postgres db or local file output
"""
import sys
from .classes.helper_functions import TimeMonitor
from .classes.helper_functions import HelperFunctions as HF
from .classes.submit_data import LBSNTransfer
from .classes.load_data import LoadData
from .config.config import BaseConfig

# Set Output to Replace in case of encoding issues (console/windows)
sys.stdout = io.TextIOWrapper(
Expand Down

0 comments on commit ef3a6fb

Please sign in to comment.