Commit 2b9ea592 authored by Lisa's avatar Lisa
Browse files

No asking for confirmation before removing

parent 8ec43d71
...@@ -110,13 +110,6 @@ def printDups(dups): ...@@ -110,13 +110,6 @@ def printDups(dups):
print f + " (newest is " + fileList[0] + ")" print f + " (newest is " + fileList[0] + ")"
def removeDups(dups, path): def removeDups(dups, path):
print ":: WARNING! You are about to permanently delete files from the disk. Are you sure you want to continue? (y/n)"
answer = sys.stdin.read(1)
if (answer != "y"):
print ":: Nothing done, exiting..."
exit(0)
for name in dups: for name in dups:
fileList = dups[name] fileList = dups[name]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment