Commit cc024d15b226f61d12742dd8497bfa629a275878

Authored by Alexandre A. Barbosa
2 parents 9b2853cd b9889d32

Merge pull request #102 from colab/improve_widget

Fix possible error when many simultaneous requests(Widgets)
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
colab/widgets/widget_manager.py
... ... @@ -54,7 +54,7 @@ class WidgetManager(object):
54 54 if category not in WidgetManager.widget_categories:
55 55 return []
56 56  
57   - widgets = WidgetManager.widget_categories[category]
  57 + widgets = WidgetManager.widget_categories[category][:]
58 58 for widget in widgets:
59 59 widget.generate_content(request)
60 60 return widgets
... ...