summaryrefslogtreecommitdiff
path: root/examples/pirate.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pirate.py')
-rwxr-xr-xexamples/pirate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pirate.py b/examples/pirate.py
index 22274dbf..096133dc 100755
--- a/examples/pirate.py
+++ b/examples/pirate.py
@@ -81,7 +81,7 @@ class Pirate(cmd2.Cmd):
def do_sing(self, arg):
"""Sing a colorful song."""
- color_escape = COLORS.get(self.songcolor, default=Fore.RESET)
+ color_escape = COLORS.get(self.songcolor, Fore.RESET)
self.poutput(arg, color=color_escape)
yo_parser = argparse.ArgumentParser()