Index: trunk/udpprofile/web/admin.py |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | store = shelve.open('baselines') |
37 | 37 | |
38 | 38 | if 'action' not in form: |
39 | | - if 'sample' in form: |
| 39 | + if 'sample' in form and authed: |
40 | 40 | del store[form['sample']] |
41 | 41 | elif form['action'] == 'clear' and authed: |
42 | 42 | from socket import * |