svn: r8247

This commit is contained in:
Don Allingham 2007-02-26 19:35:33 +00:00
parent 71f2c8d103
commit a6ff4980b1

View File

@ -3630,7 +3630,7 @@ class GedcomParser(UpdateCallback):
@type state: CurrentState
"""
(file_ok, filename) = self.find_file(line.data, self.dir_path)
if media != URL:
if state.media != URL:
if not file_ok:
self.warn(_("Could not import %s") % filename[0])
path = filename[0].replace('\\', os.path.sep)