Commit 53d45dce authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: sys.exit no longer supports exit messages.

parent b3c7f92e
......@@ -174,7 +174,8 @@ def genKFolds(shp,fld,k,out_fld=None):
if not os.path.exists(out_fld):
elif not os.path.exists(out_fld):
sys.exit('Output folder does not exists!')
print('Output folder does not exists!')
drv = ogr.GetDriverByName('ESRI Shapefile')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment