Fix for getargspec deprecation

This commit is contained in:
Jon Michael Aanes 2023-12-04 18:16:53 +01:00
parent fce1bb95e7
commit 833e8987fa

View File

@ -111,7 +111,7 @@ class SQLitePlugin(object):
# Test if the original callback accepts a 'db' keyword.
# Ignore it if it does not need a database handle.
argspec = inspect.getargspec(_callback)
argspec = inspect.getfullargspec(_callback)
if keyword not in argspec.args:
return callback