error checking in dataprep
This commit is contained in:
@@ -783,6 +783,8 @@ def rdata(file,rower=rrower()):
|
|||||||
res = rrdata(csvfile=file+'.gz',rower=rower)
|
res = rrdata(csvfile=file+'.gz',rower=rower)
|
||||||
except IOError,IndexError:
|
except IOError,IndexError:
|
||||||
res = 0
|
res = 0
|
||||||
|
except:
|
||||||
|
res = 0
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user