Console: avoid to add missed logfiles

This commit is contained in:
Eduardo Silva 2007-09-10 02:50:35 -04:00
parent f7a1900d3d
commit bd2c58d24c

View File

@ -92,6 +92,10 @@ class MultiLogView(gtk.VBox):
if os.path.isdir(path):
return False
if not os.path.exists(path):
print "ERROR: %s don't exists"
return False
logfile = self._get_filename_from_path(path)
if not self._activity.has_key(logfile):