pofix: Read *.html files from the command line

This commit is contained in:
Ignacio R. Morelle 2015-01-25 21:43:12 -03:00
parent f2b76c5ab1
commit 089e18b6be

View file

@ -202,8 +202,8 @@ if __name__ == '__main__':
modified = 0
pocount = 0
files = []
for path in sys.argv[1:]:
if not path.endswith(".po") and not path.endswith(".pot") and not path.endswith(".cfg"):
for path in args.paths:
if not path.endswith(".po") and not path.endswith(".pot") and not path.endswith(".cfg") and not path.endswith(".html"):
continue
pocount += 1
# Notice how many files are newer than the time check