X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sface%2Fsfidata.py;h=0adda24850d8b0ed6d3a2fe18ebf82e80cbd71b8;hb=bc9cce47260c4847c2c613548ca3b2e0eaa6b510;hp=9a2710a41a07e4cf8b172ad7af56b129c12d2e78;hpb=72d17d9e61f0c38e293a3e8773b046975ac570d5;p=sface.git diff --git a/sface/sfidata.py b/sface/sfidata.py index 9a2710a..0adda24 100644 --- a/sface/sfidata.py +++ b/sface/sfidata.py @@ -105,6 +105,9 @@ class SfiData: if not slice: slice = config.getSlice() + if not slice: + return None + filename = config.fullpath(slice+".sliverstatus") if os.path.exists(filename):