diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 1de1a879..707c066a 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -610,6 +610,8 @@ class Up2k(object): except: m = "failed to index subdir [{}]:\n{}" self.log(m.format(abspath, min_ex()), c=1) + elif not stat.S_ISREG(inf.st_mode): + self.log("skip type-{:x} file [{}]".format(inf.st_mode, abspath)) else: # self.log("file: {}".format(abspath)) seen_files[iname] = 1