Commits

Ollie Rutherfurd committed c8c311b

fix basename.ext -> basename.css (vs ext.css)

Comments (0)

Files changed (1)

     # convert some files
     else:
         for fn in sys.argv[1:]:
-            target = fn.rsplit('.', 1)[-1] + '.css'
+            target = fn.rsplit('.', 1)[0] + '.css'
             if fn == target:
                 sys.stderr.write('Error: same name for source and target file'
                                  ' "%s".' % fn)