Commit e3ea4c5fa235119597f7cf6af4ba3d3abd9a0780

Authored by Imanol-Mikel Barba Sabariego
1 parent a72e3728

Removed debug prints. Forgot to close hashes file

Showing 1 changed file with 1 additions and 2 deletions
digger.py
... ... @@ -57,11 +57,10 @@ def bagAndTag():
57 57  
58 58 for root, dirnames, filenames in os.walk(tombPath):
59 59 for dir in dirnames:
60   - print(dir)
61 60 for subroot, subdirnames, subfilenames in os.walk(tombPath + dir):
62   - print(subfilenames)
63 61 for filename in subfilenames:
64 62 hashes.write(sha256sum(subroot + "/" + filename) + " " + subroot + "/" + filename + "\n")
  63 + hashes.close()
65 64  
66 65 def finish(allSuccessful):
67 66 bagAndTag()
... ...