aboutsummaryrefslogtreecommitdiffstats
path: root/compact_pm_ovd.py
diff options
context:
space:
mode:
Diffstat (limited to 'compact_pm_ovd.py')
-rwxr-xr-xcompact_pm_ovd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/compact_pm_ovd.py b/compact_pm_ovd.py
index 5024d61..0a25e0c 100755
--- a/compact_pm_ovd.py
+++ b/compact_pm_ovd.py
@@ -80,7 +80,8 @@ class WSSCompactor():
80 for key in tkeys: 80 for key in tkeys:
81 wstr = str(key) + ', ' 81 wstr = str(key) + ', '
82 for value in self.ovhead_table[str(key)]: 82 for value in self.ovhead_table[str(key)]:
83 wstr += value + ', ' 83 if float(value) > 0:
84 wstr += value + ', '
84 wstr = wstr[0:-2] 85 wstr = wstr[0:-2]
85 csvf.write(wstr + '\n') 86 csvf.write(wstr + '\n')
86 87