소스 검색

changed grouping from - to .

Moritz Schmidt 6 년 전
부모
커밋
08a641f21c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -11,7 +11,7 @@ elif len(sys.argv) == 2:
     for f in files:
         print f
         match = re.match(r'([a-zA-Z.]*).([S|s][0-9]*[E|e][0-9]*).([a-zA-Z0-9äöüÄÖÜß\-\.\,\w]*)', f)
-        newName = match.group(1) + "-" + match.group(2) + "-" + match.group(3)
+        newName = match.group(1) + "." + match.group(2) + "." + match.group(3)
         print newName
         os.rename(f, newName)
         print "\n"