1. fanstatic
  2. fanstatic
  3. fanstatic

Commits

michilu  committed a2c406e

Fix path order #78

  • Participants
  • Parent commits 64226a5
  • Branches default

Comments (0)

Files changed (1)

File fanstatic/checksum.py

View file
  • Ignore whitespace
 
 def md5(path):
     chcksm = hashlib.md5()
-    for path in list_directory(path, include_directories=False):
+    for path in sorted(list(list_directory(path, include_directories=False))):
         chcksm.update(path)
         try:
             f = open(path, 'rb')