summaryrefslogtreecommitdiffstats
path: root/source/python
diff options
context:
space:
mode:
Diffstat (limited to 'source/python')
-rw-r--r--source/python/samba/printerdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/samba/printerdata.py b/source/python/samba/printerdata.py
index 0b53a3dfb52..81575fecb2d 100644
--- a/source/python/samba/printerdata.py
+++ b/source/python/samba/printerdata.py
@@ -62,4 +62,4 @@ class printerdata_ex:
return self.hnd.getprinterdataex(self.key, key)['data']
def __getitem__(self, key):
- return self.printerdata_ex_subkey(self.host, key, creds, access)
+ return self.printerdata_ex_subkey(self.host, key, self.creds, access)