Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不设置例外路径时,监控无效,所有操作都被pass #2

Closed
moyuwa opened this issue Apr 28, 2020 · 1 comment
Closed

不设置例外路径时,监控无效,所有操作都被pass #2

moyuwa opened this issue Apr 28, 2020 · 1 comment

Comments

@moyuwa
Copy link

moyuwa commented Apr 28, 2020

运行fileMonitor.py文件
当Unnecessary directory不设置任何路径时,下面语句
if doWithout in event.src_path:
pass
始终成立,所有操作都被pass

@TheKingOfDuck
Copy link
Owner

运行fileMonitor.py文件
当Unnecessary directory不设置任何路径时,下面语句
if doWithout in event.src_path:
pass
始终成立,所有操作都被pass

该bug已修复,感谢大哥对项目的大力支持。

然后我看了下大哥写的加强的版本,有两bug, 第一是文件移动时只显示了源路径,没显示复制到哪儿了。第二是是否显示文件夹变化设置无效。我在大哥的版本是修复了这两问题,并加了参数传值,二进制文件优化等。

一键安装:

python3 -m pip install filemon==1.1 -i https://pypi.python.org/simple/
filemon -h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants