Skip to content

Commit 9f994af

Browse files
committed
fix: add missing import time for rate limiting
- Add import time to convert_akomantoso.py - Fixes 'name time is not defined' error in --with-references mode - Rate limiting now works correctly with 1-second delays
1 parent 07181ba commit 9f994af

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

convert_akomantoso.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import os
66
import requests
77
import tempfile
8+
import time
89
from datetime import datetime
910
from urllib.parse import urlparse
1011

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "akoma2md"
7-
version = "1.9.3"
7+
version = "1.9.4"
88
description = "Convertitore da XML Akoma Ntoso a formato Markdown con download automatico delle leggi citate e cross-references inline"
99
readme = "README.md"
1010
requires-python = ">=3.7"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def read_readme():
1616

1717
setup(
1818
name="akoma2md",
19-
version="1.9.3",
19+
version="1.9.4",
2020
description="Convertitore da XML Akoma Ntoso a formato Markdown con download automatico delle leggi citate e cross-references inline",
2121
long_description=read_readme(),
2222
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)