X-Git-Url: https://wylark.com/src/infoex-autowx.git/blobdiff_plain/f6ec08d2525c2418d14fecaaab1c78e15e1c1b21..8210e35384e3f5bad451c7eeeed8d70c3bcf8e60:/infoex-autowx.py?ds=sidebyside diff --git a/infoex-autowx.py b/infoex-autowx.py index a68d778..abdf14a 100755 --- a/infoex-autowx.py +++ b/infoex-autowx.py @@ -29,6 +29,7 @@ import logging import os import sys import time +import importlib.util from ftplib import FTP from argparse import ArgumentParser @@ -41,7 +42,7 @@ import zeep import zeep.cache import zeep.transports -__version__ = '3.1.0' +__version__ = '3.1.1' LOG = logging.getLogger(__name__) LOG.setLevel(logging.NOTSET) @@ -228,8 +229,6 @@ def main(): station) elif station['provider'] == 'python': try: - import importlib.util - spec = importlib.util.spec_from_file_location('custom_wx', station['path']) mod = importlib.util.module_from_spec(spec)