mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-04 21:04:41 +00:00
Fix GUI check result saving.
This commit is contained in:
parent
9c40078ab9
commit
10b9c12ce9
1 changed files with 2 additions and 3 deletions
|
|
@ -33,11 +33,10 @@ FileExt2LogType = {
|
|||
|
||||
def urlsave (parent, config, urls):
|
||||
"""Save URL results in file."""
|
||||
res = get_save_filename(parent)
|
||||
if not res:
|
||||
filename, filetype = get_save_filename(parent)
|
||||
if not filename:
|
||||
# user canceled
|
||||
return
|
||||
filename = unicode(res)
|
||||
logtype = FileExt2LogType.get(os.path.splitext(filename)[1])
|
||||
if not logtype:
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue