Compare commits

..

No commits in common. "bafcb245f35fa0c66d39d45cb62a04d065255f24" and "7338784e3b5143e0d2fb01639ab58333685835ce" have entirely different histories.

2 changed files with 8 additions and 15 deletions

View File

@ -11,10 +11,7 @@ from urllib.parse import urlparse
logger = logging.getLogger(__name__)
raw_url = urlparse(
"https://git.fsfe.org/FSFE/activities/raw/branch/master/activities.csv"
)
raw_url = urlparse("https://git.fsfe.org/FSFE/activities/raw/branch/master/activities.csv")
def create_activities_file():
git_token = os.environ.get("GIT_TOKEN")
@ -44,7 +41,7 @@ def create_activities_file():
if event:
activities += f' data-event="{event}"'
activities += ">"
activities += '>'
activities += f"{tag} ({description})"
activities += "</option>\n"

View File

@ -36,11 +36,7 @@ def _process_dir(languages: list[str], target: Path, dir: Path) -> None:
else basename.with_suffix(".en.xhtml")
),
processor,
(
source_file.parent.joinpath(
"." + basename.name
).with_suffix(".xmllist")
),
target_file.with_suffix("").with_suffix(".xmllist"),
Path(f"global/data/texts/.texts.{lang}.xml"),
Path(f"global/data/topbanner/.topbanner.{lang}.xml"),
Path("global/data/texts/texts.en.xml"),