1. _vios
  2. rebook

Commits

vios@ylab  committed a8bd92b

大文字.ZIP拡張子が無視される問題修正

  • Participants
  • Parent commits 99bbd84
  • Branches master

Comments (0)

Files changed (1)

File rebook.py

View file
  • Ignore whitespace
         originalFile = path
         if not os.path.isdir(path):
             print "this is not direcotry!!"
-            ext = os.path.splitext(path)[1]
+            ext = os.path.splitext(path)[1].lower()
             if ext == ".zip":
                 print "zip!"
                 path = self.unzip(path)