aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/new.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/command/new.py')
-rw-r--r--libbe/command/new.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/new.py b/libbe/command/new.py
index 6e94e79..33ede50 100644
--- a/libbe/command/new.py
+++ b/libbe/command/new.py
@@ -118,7 +118,7 @@ class New (libbe.command.Command):
storage = self._get_storage()
bugdirs = self._get_bugdirs()
if params['bugdir']:
- bugdir = bugdirs[bugdir]
+ bugdir = bugdirs[params['bugdir']]
elif len(bugdirs) == 1:
bugdir = bugdirs.values()[0]
else: