* src/ArgHandler.py: Check recent file for existance before trying to load that file. (bug #447)
svn: r7786
This commit is contained in:
parent
8b7b1a84e5
commit
cf3b73f529
@ -1,3 +1,7 @@
|
||||
2006-12-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/ArgHandler.py: Check recent file for existance before trying to
|
||||
load that file. (bug #447)
|
||||
|
||||
2006-12-11 Don Allingham <don@gramps-project.org>
|
||||
* src/Editors/_EditMedia.py: fix menu title (bug#755)
|
||||
* src/GrampsDb/_WriteXML.py: handle XML escapes
|
||||
|
@ -429,8 +429,9 @@ class ArgHandler:
|
||||
|
||||
elif Config.get(Config.RECENT_FILE) and Config.get(Config.AUTOLOAD):
|
||||
rf = Config.get(Config.RECENT_FILE)
|
||||
filetype = Mime.get_type(rf)
|
||||
self.vm.read_recent_file(rf,filetype)
|
||||
if os.path.isfile(rf):
|
||||
filetype = Mime.get_type(rf)
|
||||
self.vm.read_recent_file(rf,filetype)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user