Commit 387668d8 authored by nanahira's avatar nanahira

update lflist title

parent 24094c39
Pipeline #40750 passed with stages
in 2 minutes and 14 seconds
...@@ -18,9 +18,9 @@ Other rules: ...@@ -18,9 +18,9 @@ Other rules:
- Disable all Link and Pendulum monsters: SELECT id FROM datas WHERE (type & 0x5000000) > 0 - Disable all Link and Pendulum monsters: SELECT id FROM datas WHERE (type & 0x5000000) > 0
- Output format: - Output format:
#[Genesys TCG] #[YYYY.MM TCG Genesys]
# Genernated by genesys-gen # Genernated by genesys-gen
!Genesys TCG !YYYY.MM TCG Genesys
$genesys 100 $genesys 100
...@@ -42,6 +42,7 @@ import re ...@@ -42,6 +42,7 @@ import re
import sqlite3 import sqlite3
import sys import sys
import unicodedata import unicodedata
from datetime import date
from pathlib import Path from pathlib import Path
from typing import Dict, List, Tuple, Optional, Iterable from typing import Dict, List, Tuple, Optional, Iterable
...@@ -159,10 +160,12 @@ def build_lflist( ...@@ -159,10 +160,12 @@ def build_lflist(
""" """
Compose the lflist.conf content as requested, using the updated matching strategy. Compose the lflist.conf content as requested, using the updated matching strategy.
""" """
title = date.today().strftime("%Y.%m TCG Genesys")
lines: List[str] = [] lines: List[str] = []
lines.append("#[Genesys TCG]") lines.append(f"#[{title}]")
lines.append("# Genernated by genesys-gen") lines.append("# Genernated by genesys-gen")
lines.append("!Genesys TCG") lines.append(f"!{title}")
lines.append("") lines.append("")
lines.append(f"$genesys {cap}") lines.append(f"$genesys {cap}")
lines.append("") lines.append("")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment