merge from improvements on the 1.0 branch:
[monitor.git] / showlatlon.py
index 1d06594..951802a 100755 (executable)
@@ -83,8 +83,8 @@ def main():
                begin = time.strftime(format)
 
        d = datetime_fromstr(begin)
-       fbstr = get_filefromglob(d, "production.findbad")
-       fbpcustr = get_filefromglob(d, "production.findbadpcus")
+       fbstr = get_filefromglob(d, "production.findbad")[0]
+       fbpcustr = get_filefromglob(d, "production.findbadpcus")[0]
 
        l_plcnodes = plccache.l_nodes
        l_plcsites = plccache.l_sites