diff options
author | W. Trevor King <wking@drexel.edu> | 2008-11-24 21:15:55 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-11-24 21:15:55 -0500 |
commit | 4c6f8ceeafd1eadb4de8f86fed93f779613deece (patch) | |
tree | 56d42ceb27d9d343c742c85558b55a05f6fd3fcd /becommands/set.py | |
parent | cb18ea54f783ed37a39fc12561329b398830d656 (diff) | |
download | bugseverywhere-4c6f8ceeafd1eadb4de8f86fed93f779613deece.tar.gz |
Adjusted becommands/set to handle user_id properly.
Diffstat (limited to 'becommands/set.py')
-rw-r--r-- | becommands/set.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/becommands/set.py b/becommands/set.py index 0085f0f..24011f0 100644 --- a/becommands/set.py +++ b/becommands/set.py @@ -46,8 +46,10 @@ def execute(args): print bd.settings.get(args[0]) else: if args[1] != "none": - old_setting = bd.settings[args[0]] + old_setting = bd.settings.get(args[0]) bd.settings[args[0]] = args[1] + if args[0] == "user_id": + bd.save_user_id() # attempt to get the new value bd.save() |