Console: avoid to add missed logfiles
This commit is contained in:
parent
f7a1900d3d
commit
bd2c58d24c
@ -92,6 +92,10 @@ class MultiLogView(gtk.VBox):
|
|||||||
if os.path.isdir(path):
|
if os.path.isdir(path):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if not os.path.exists(path):
|
||||||
|
print "ERROR: %s don't exists"
|
||||||
|
return False
|
||||||
|
|
||||||
logfile = self._get_filename_from_path(path)
|
logfile = self._get_filename_from_path(path)
|
||||||
|
|
||||||
if not self._activity.has_key(logfile):
|
if not self._activity.has_key(logfile):
|
||||||
|
Loading…
Reference in New Issue
Block a user