mirror of
https://github.com/novoid/appendfilename.git
synced 2026-02-16 21:04:16 +00:00
fixed bug with dirnames
This commit is contained in:
parent
231b7675f2
commit
0540f70533
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
PROG_VERSION = u"Time-stamp: <2019-10-20 11:27:21 vk>"
|
||||
PROG_VERSION = u"Time-stamp: <2019-10-29 12:02:44 vk>"
|
||||
|
||||
# TODO:
|
||||
# * fix parts marked with «FIXXME»
|
||||
|
|
@ -193,7 +193,7 @@ def is_broken_link(name):
|
|||
@param return: boolean
|
||||
"""
|
||||
|
||||
if os.path.isfile(name):
|
||||
if os.path.isfile(name) or os.path.isdir(name):
|
||||
return False
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue