wylark
/
infoex-autowx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release-3.1.1'
[infoex-autowx.git]
/
infoex-autowx.py
diff --git
a/infoex-autowx.py
b/infoex-autowx.py
index a68d778225fa22bfe10ef5a1cc6f96d4c0cbd370..abdf14ae04e1cced93caac823de54485ae0feac4 100755
(executable)
--- a/
infoex-autowx.py
+++ b/
infoex-autowx.py
@@
-29,6
+29,7
@@
import logging
import os
import sys
import time
import os
import sys
import time
+import importlib.util
from ftplib import FTP
from argparse import ArgumentParser
from ftplib import FTP
from argparse import ArgumentParser
@@
-41,7
+42,7
@@
import zeep
import zeep.cache
import zeep.transports
import zeep.cache
import zeep.transports
-__version__ = '3.1.
0
'
+__version__ = '3.1.
1
'
LOG = logging.getLogger(__name__)
LOG.setLevel(logging.NOTSET)
LOG = logging.getLogger(__name__)
LOG.setLevel(logging.NOTSET)
@@
-228,8
+229,6
@@
def main():
station)
elif station['provider'] == 'python':
try:
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)
spec = importlib.util.spec_from_file_location('custom_wx',
station['path'])
mod = importlib.util.module_from_spec(spec)