diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-09-22 12:57:48 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-09-22 12:57:48 +0300 |
commit | 836d2c942be8c22f0946006554f5233b5a2a201a (patch) | |
tree | 28748ba23eb687813a90740c353bca584648fe68 /printers.py | |
parent | 4c4907ef332b18ae120eb085e04e783d41a60fe8 (diff) | |
download | machammer-836d2c942be8c22f0946006554f5233b5a2a201a.tar.gz machammer-836d2c942be8c22f0946006554f5233b5a2a201a.tar.bz2 machammer-836d2c942be8c22f0946006554f5233b5a2a201a.zip |
Added input sanitation
Diffstat (limited to 'printers.py')
-rw-r--r-- | printers.py | 2 |
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]] |