Skip to content

Commit

Permalink
fix: Remove deprecated cgi method
Browse files Browse the repository at this point in the history
Fixes #1153
  • Loading branch information
kesara committed Nov 8, 2024
1 parent bf52f86 commit 7da44c9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xml2rfc/writers/legacy_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
import datetime
import calendar

try:
from html import escape
except ImportError:
from cgi import escape
from html import escape

try:
from xml2rfc import debug
Expand Down

0 comments on commit 7da44c9

Please sign in to comment.