summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/python/samba/printerdata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/python/samba/printerdata.py b/source3/python/samba/printerdata.py
index 81575fecb2..6c40cc4b26 100644
--- a/source3/python/samba/printerdata.py
+++ b/source3/python/samba/printerdata.py
@@ -62,4 +62,5 @@ class printerdata_ex:
return self.hnd.getprinterdataex(self.key, key)['data']
def __getitem__(self, key):
- return self.printerdata_ex_subkey(self.host, key, self.creds, access)
+ return self.printerdata_ex_subkey(
+ self.host, key, self.creds, self.access)