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:
- Disable all Link and Pendulum monsters: SELECT id FROM datas WHERE (type & 0x5000000) > 0
- Output format:
#[Genesys TCG]
#[YYYY.MM TCG Genesys]
# Genernated by genesys-gen
!Genesys TCG
!YYYY.MM TCG Genesys
$genesys 100
......@@ -42,6 +42,7 @@ import re
import sqlite3
import sys
import unicodedata
from datetime import date
from pathlib import Path
from typing import Dict, List, Tuple, Optional, Iterable
......@@ -159,10 +160,12 @@ def build_lflist(
"""
Compose the lflist.conf content as requested, using the updated matching strategy.
"""
title = date.today().strftime("%Y.%m TCG Genesys")
lines: List[str] = []
lines.append("#[Genesys TCG]")
lines.append(f"#[{title}]")
lines.append("# Genernated by genesys-gen")
lines.append("!Genesys TCG")
lines.append(f"!{title}")
lines.append("")
lines.append(f"$genesys {cap}")
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