diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-04-28 14:32:31 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-04-28 14:32:31 +0200 |
commit | ed9ac7c472f724d76e07661f9c2e3084240786a7 (patch) | |
tree | f64caa6ab057ab9acb79875ca6a4602ed022f09e /lib/dfatool.py | |
parent | a61640475b9ee9140cc25b7d0a8ce12ed19ce1f2 (diff) |
support name suffixes
Diffstat (limited to 'lib/dfatool.py')
-rwxr-xr-x | lib/dfatool.py | 2 |
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 |