diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 08:16:10 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 08:16:10 +0300 |
commit | dbc4aff747b6d8e2bc817f91878b4f02458c30ae (patch) | |
tree | f8a3be19098fc9bdc617171a11b2528a1cf2ecd0 /servo/views | |
parent | 99186146e87c4159513bed25a3062f1cf73e212d (diff) | |
download | Servo-dbc4aff747b6d8e2bc817f91878b4f02458c30ae.tar.gz Servo-dbc4aff747b6d8e2bc817f91878b4f02458c30ae.tar.bz2 Servo-dbc4aff747b6d8e2bc817f91878b4f02458c30ae.zip |
Switch to pymemcache
Diffstat (limited to 'servo/views')
-rw-r--r-- | servo/views/device.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/device.py b/servo/views/device.py index f02182a..0eda090 100644 --- a/servo/views/device.py +++ b/servo/views/device.py @@ -60,7 +60,7 @@ def prep_list_view(request, product_line=None, model=None): models = model_from_slug(product_line) if model is None: - model = models.keys()[0] + model = list(models.keys())[0] title = product_lines[product_line]['name'] else: title = models.get(model) |