mirror of
https://github.com/rendercv/rendercv.git
synced 2026-10-23 04:44:41 -04:00
renderer: refactor
This commit is contained in:
1 parent
16361aa424
commit
e8d3cccfe9
1 file changed
+2
-4
@@ -137,10 +137,8 @@ class LaTeXFile(TemplatedFile):
|
||||
)
|
||||
entries: list[str] = []
|
||||
for i, entry in enumerate(section.entries):
|
||||
if i == 0:
|
||||
is_first_entry = True
|
||||
else:
|
||||
is_first_entry = False
|
||||
is_first_entry = i == 0
|
||||
|
||||
entries.append(
|
||||
self.template(
|
||||
section.entry_type,
|
||||
|
||||
Reference in new issue
Block a user