summaryrefslogtreecommitdiff
path: root/lib/dfatool.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dfatool.py')
-rwxr-xr-xlib/dfatool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py
index 3def392..66be4fd 100755
--- a/lib/dfatool.py
+++ b/lib/dfatool.py
@@ -15,6 +15,8 @@ def running_mean(x, N):
return (cumsum[N:] - cumsum[:-N]) / N
def is_numeric(n):
+ if n == None:
+ return False
try:
int(n)
return True