diff options
author | Anthony LaTorre <devnull@localhost> | 2013-03-29 16:40:34 -0500 |
---|---|---|
committer | Anthony LaTorre <devnull@localhost> | 2013-03-29 16:40:34 -0500 |
commit | cb9b9ca7f58bf0dc63079c79211bb994bb8f825f (patch) | |
tree | b92b5548c2c2ed0921d5fecf88d7b89a9ced1965 | |
parent | a4cd35856a49f6921716c3cb4873c76ca14fb5f0 (diff) | |
download | lecrunch-cb9b9ca7f58bf0dc63079c79211bb994bb8f825f.tar.gz lecrunch-cb9b9ca7f58bf0dc63079c79211bb994bb8f825f.tar.bz2 lecrunch-cb9b9ca7f58bf0dc63079c79211bb994bb8f825f.zip |
small syntax error, use math.log10
-rw-r--r-- | tektronix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tektronix.py b/tektronix.py index 4fed50f..4577d00 100644 --- a/tektronix.py +++ b/tektronix.py @@ -211,7 +211,7 @@ if __name__ == '__main__': for run in range(options.nruns): if options.nruns > 1: - fileid = str(run).zfill(int(log10(options.nruns))+1) + fileid = str(run).zfill(int(math.log10(options.nruns))+1) else: fileid = '' |