fixed bug with dirnames

This commit is contained in:
Karl Voit 2019-10-29 12:42:40 +01:00
parent 231b7675f2
commit 0540f70533

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- 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: # TODO:
# * fix parts marked with «FIXXME» # * fix parts marked with «FIXXME»
@ -193,7 +193,7 @@ def is_broken_link(name):
@param return: boolean @param return: boolean
""" """
if os.path.isfile(name): if os.path.isfile(name) or os.path.isdir(name):
return False return False
try: try: