kopia lustrzana https://github.com/n1ywb/python-hamtools
asdf
rodzic
2b098e0137
commit
fe6dcd40a6
|
@ -32,7 +32,8 @@ import requests
|
||||||
import requests_cache
|
import requests_cache
|
||||||
|
|
||||||
|
|
||||||
log = logging.getLogger('geolog')
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
# log.setLevel(logging.INFO)
|
# log.setLevel(logging.INFO)
|
||||||
|
|
||||||
# 1. Load log
|
# 1. Load log
|
||||||
|
@ -277,8 +278,6 @@ def main(argv=None):
|
||||||
if argv is None:
|
if argv is None:
|
||||||
argv = sys.argv
|
argv = sys.argv
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description=
|
description=
|
||||||
"""Read ham log and output GIS data for callsigns worked. Output files will be
|
"""Read ham log and output GIS data for callsigns worked. Output files will be
|
||||||
|
@ -333,4 +332,5 @@ created: "foo/bar_points.geojson", "foo/bar_lines.geojson", and "foo/bar.kml"
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
logging.basicConfig(level=logging.INFO)
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
|
|
|
@ -23,7 +23,7 @@ import os
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
log = logging.getLogger('qrz')
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
CACHEPATH = os.path.join(os.environ.get('XDG_CACHE_HOME', os.environ['HOME']), '.qrz_cache')
|
CACHEPATH = os.path.join(os.environ.get('XDG_CACHE_HOME', os.environ['HOME']), '.qrz_cache')
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue