Skip to content

Commit

Permalink
[bugfix] address issue 4206 (#4452)
Browse files Browse the repository at this point in the history
closes 4206

(cherry picked from commit 177d7c0)
  • Loading branch information
mistercrunch committed Feb 22, 2018
1 parent 16787ee commit 91c5ce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/connectors/sqla/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ def edit(self, pk):
__('Refresh column metadata'),
'fa-refresh')
def refresh(self, tables):
if not isinstance(tables, list):
tables = [tables]
for t in tables:
t.fetch_metadata()
msg = _(
Expand Down

0 comments on commit 91c5ce9

Please sign in to comment.