aboutsummaryrefslogtreecommitdiffstats
path: root/printers.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-09-22 12:57:48 +0300
committerFilipp Lepalaan <filipp@mac.com>2016-09-22 12:57:48 +0300
commit836d2c942be8c22f0946006554f5233b5a2a201a (patch)
tree28748ba23eb687813a90740c353bca584648fe68 /printers.py
parent4c4907ef332b18ae120eb085e04e783d41a60fe8 (diff)
downloadmachammer-836d2c942be8c22f0946006554f5233b5a2a201a.tar.gz
machammer-836d2c942be8c22f0946006554f5233b5a2a201a.tar.bz2
machammer-836d2c942be8c22f0946006554f5233b5a2a201a.zip
Added input sanitation
Diffstat (limited to 'printers.py')
-rw-r--r--printers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/printers.py b/printers.py
index 60afd2e..d3c7539 100644
--- a/printers.py
+++ b/printers.py
@@ -10,7 +10,7 @@ def delete_printers():
def add_printer(printer, options={}):
"""
- Adds a printer
+ Add a printer
A printer is a tuple (name, PPD path, LPD address)
"""
cmd = ['/usr/sbin/lpadmin', '-x', printer[1]]