init
parent
e5c47de399
commit
1b1c1c9ee8
2
diff.py
2
diff.py
|
@ -92,7 +92,7 @@ if __name__ == '__main__':
|
|||
if len(sys.argv) > 3:
|
||||
diff_file = os.path.abspath(sys.argv[3])
|
||||
else:
|
||||
diff_file = os.path.dirname(path) + os.sep + "diff"
|
||||
diff_file = os.path.dirname(path) + os.sep + os.path.basename(path)+".diff"
|
||||
print(f"Diff File:{diff_file}")
|
||||
with open(diff_file, 'w') as diff:
|
||||
find_duplicates(path, diff)
|
||||
|
|
Loading…
Reference in New Issue