pofix: Read *.html files from the command line
This commit is contained in:
parent
f2b76c5ab1
commit
089e18b6be
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue