mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[hotfix] 'NoneType' object has no attribute 'upper'
This commit is contained in:
parent
59d5fcf88c
commit
398036d77e
@ -114,7 +114,7 @@ class TableColumn(Model, BaseColumn):
|
|||||||
return str((dttm - datetime(1970, 1, 1)).total_seconds() * 1000.0)
|
return str((dttm - datetime(1970, 1, 1)).total_seconds() * 1000.0)
|
||||||
else:
|
else:
|
||||||
s = self.table.database.db_engine_spec.convert_dttm(
|
s = self.table.database.db_engine_spec.convert_dttm(
|
||||||
self.type, dttm)
|
self.type or '', dttm)
|
||||||
return s or "'{}'".format(dttm.strftime(tf))
|
return s or "'{}'".format(dttm.strftime(tf))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user