fix example for new iter_file_dups function
This commit is contained in:
parent
c38d74feb7
commit
4d015b6be8
1 changed files with 2 additions and 3 deletions
|
@ -26,9 +26,8 @@ Perform custom action
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
from sweeper import iter_file_dups
|
from sweeper import iter_file_dups
|
||||||
for files in iter_file_dups(['images']):
|
for f, h, dups in iter_file_dups(['images']):
|
||||||
for fname in files:
|
print('encountered {} which duplicates with already found duplicate files {} with hash {}'.format(f, dups, h))
|
||||||
print('found duplicate file with name: {}'.format(fname))
|
|
||||||
|
|
||||||
As script::
|
As script::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue