This commit is contained in:
Junzi Sun 2019-02-16 01:10:12 +01:00
parent c4c285266c
commit 546d69c129

View File

@ -33,11 +33,13 @@ RAWTYPE = args.rawtype
LAT0 = float(args.latlon[0])
LON0 = float(args.latlon[1])
UNCERTAINTY = args.uncertainty
DUMPTO = os.getcwd() + '/' + args.dumpto
DUMPTO = args.dumpto
if not os.path.isdir(DUMPTO):
print('Error: dump folder (%s) does not exist' % DUMPTO)
sys.exit(1)
if DUMPTO is not None:
DUMPTO = os.getcwd() + '/' + DUMPTO
if not os.path.isdir(DUMPTO):
print('Error: dump folder (%s) does not exist' % DUMPTO)
sys.exit(1)
class ModesClient(BaseClient):