Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/printer.py
diff options
context:
space:
mode:
Diffstat (limited to 'printer.py')
-rw-r--r--printer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/printer.py b/printer.py
index 2520b73..22f1db1 100644
--- a/printer.py
+++ b/printer.py
@@ -248,12 +248,12 @@ class PrinterManagerObserver(object):
def find_Printer(self):
try:
- printerLoc = self._halmgr.FindDeviceByCapability('printer')
+ printerLocation = self._halmgr.FindDeviceByCapability('printer')
except AttributeError and IndexError:
logging.debug('No Print Device found')
else:
- for print in printerLoc:
+ for printerLoc in printerLocation:
self.device_added(printerLoc)