bug fix
This commit is contained in:
@@ -33,11 +33,13 @@ RAWTYPE = args.rawtype
|
|||||||
LAT0 = float(args.latlon[0])
|
LAT0 = float(args.latlon[0])
|
||||||
LON0 = float(args.latlon[1])
|
LON0 = float(args.latlon[1])
|
||||||
UNCERTAINTY = args.uncertainty
|
UNCERTAINTY = args.uncertainty
|
||||||
DUMPTO = os.getcwd() + '/' + args.dumpto
|
DUMPTO = args.dumpto
|
||||||
|
|
||||||
if not os.path.isdir(DUMPTO):
|
if DUMPTO is not None:
|
||||||
print('Error: dump folder (%s) does not exist' % DUMPTO)
|
DUMPTO = os.getcwd() + '/' + DUMPTO
|
||||||
sys.exit(1)
|
if not os.path.isdir(DUMPTO):
|
||||||
|
print('Error: dump folder (%s) does not exist' % DUMPTO)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
class ModesClient(BaseClient):
|
class ModesClient(BaseClient):
|
||||||
|
|||||||
Reference in New Issue
Block a user