svn: r8247
This commit is contained in:
parent
71f2c8d103
commit
a6ff4980b1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user