From b12ca5565570ea29cbd198195cbb5408db16996e Mon Sep 17 00:00:00 2001
From: Hinrikus Wolf <hinrikus@fsmpi.rwth-aachen.de>
Date: Mon, 29 Jan 2018 19:11:25 +0100
Subject: [PATCH]  fix drucken script

---
 cups-client/files/drucken.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cups-client/files/drucken.py b/cups-client/files/drucken.py
index de5665c..781974e 100755
--- a/cups-client/files/drucken.py
+++ b/cups-client/files/drucken.py
@@ -116,7 +116,7 @@ if args.custom_size:
 if args.media_type:
     command += ["-o", "MediaType="+args.media_type]
 if args.color:
-    command += ["-o", "ColorModel="+args.media_type]
+    command += ["-o", "ColorModel="+args.color]
 if args.landscape:
     command += ["-o", "landscape"]
 if args.pages_per_page and args.pages_per_page != '1':
-- 
GitLab