mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Adjust code style for Flake8 5.0+
We are pinned to Flake8 <4.0, but at least we'll be compliant if we ever upgrade to Flake8 5.0+.
This commit is contained in:
parent
9c0c5b4929
commit
21e855a29f
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ def dc2fields(file):
|
|||
else:
|
||||
i = 1
|
||||
j = 1
|
||||
while(i <= int(tag[:1])):
|
||||
while (i <= int(tag[:1])):
|
||||
newtag = tag.split('"')[j].replace('\\', '')
|
||||
tags.append(
|
||||
BeautifulSoup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue