From bb42be87d9f8a3f744f824235936cf3c037bab79 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 17 Dec 2007 18:52:04 +0000 Subject: [PATCH] cast plot_length to int --- node_ssh/nst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node_ssh/nst.py b/node_ssh/nst.py index ab4869f..90618e4 100644 --- a/node_ssh/nst.py +++ b/node_ssh/nst.py @@ -312,8 +312,8 @@ def init_slice(config, all_nodes): def plot_fill_empty(config): #ticstep = 3600 # 1 hour #plotlength = 36000 # 10 hours - ticstep = 1800 - plotlength = config.plot_length + ticstep = 3600 + plotlength = int(config.plot_length) plots_path = config.plots_path all_nodes_filename = config.all_nodes_filename -- 2.47.0