mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 05:23:59 +00:00
logging
This commit is contained in:
@@ -304,6 +304,9 @@ def _cp(src, dst, ignore_func=None, debug=False):
|
|||||||
return
|
return
|
||||||
if not os.path.isfile(src):
|
if not os.path.isfile(src):
|
||||||
# ignore special files
|
# ignore special files
|
||||||
|
if debug:
|
||||||
|
LOG.dbg(f'ignore special file \"{src}\"',
|
||||||
|
force=True)
|
||||||
return
|
return
|
||||||
dstdir = os.path.dirname(dst)
|
dstdir = os.path.dirname(dst)
|
||||||
if debug:
|
if debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user