summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib-tk/tkColorChooser.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/lib-tk/tkColorChooser.py b/Lib/lib-tk/tkColorChooser.py
index 36df25b..5756275 100644
--- a/Lib/lib-tk/tkColorChooser.py
+++ b/Lib/lib-tk/tkColorChooser.py
@@ -60,8 +60,8 @@ def askcolor(color = None, **options):
"Ask for a color"
if color:
- options = options.copy()
- options["initialcolor"] = color
+ options = options.copy()
+ options["initialcolor"] = color
return apply(Chooser, (), options).show()
@@ -72,4 +72,3 @@ def askcolor(color = None, **options):
if __name__ == "__main__":
print "color", askcolor()
-