14 lines
432 B
Diff
14 lines
432 B
Diff
diff --git a/screenlayout/gui.py b/screenlayout/gui.py
|
|
index 275dbdf..bc598cf 100644
|
|
--- a/screenlayout/gui.py
|
|
+++ b/screenlayout/gui.py
|
|
@@ -48,7 +48,7 @@ def actioncallback(function):
|
|
|
|
A first argument called 'self' is passed through.
|
|
"""
|
|
- argnames = inspect.getargspec(function)[0]
|
|
+ argnames = inspect.getfullargspec(function)[0]
|
|
if argnames[0] == 'self':
|
|
has_self = True
|
|
argnames.pop(0)
|