Skip to content

Commit fcb2cc5

Browse files
committed
Fix warn -> warning
1 parent 4b1e0a6 commit fcb2cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx_tabs/tabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def copy_assets(app, exception):
291291
""" Copy asset files to the output """
292292
if 'getLogger' in dir(logging):
293293
log = logging.getLogger(__name__).info # pylint: disable=no-member
294-
warn = logging.getLogger(__name__).warn # pylint: disable=no-member
294+
warn = logging.getLogger(__name__).warning # pylint: disable=no-member
295295
else:
296296
log = app.info
297297
warn = app.warning

0 commit comments

Comments
 (0)