sassw: use current directory as default

This commit is contained in:
Frédéric Péters 2019-08-27 15:31:20 +02:00
parent e7d34ce082
commit 42159886dc
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import subprocess
import sys
import time
filename = sys.argv[1]
filename = sys.argv[1] if len(sys.argv) > 1 else '.'
if os.path.isdir(filename):
scss_filenames = [x for x in os.listdir(filename) if x.startswith('_') and x.endswith('.scss')]
if not scss_filenames: