mirror of https://github.com/apache/superset.git
fix(useless-self-assignment): correct useless-self-assignment (#7090)
* fix(useless-self-assignment): correct useless-self-assignment * udated code formatting
This commit is contained in:
parent
ebb32101c9
commit
f556da80cb
|
@ -24,9 +24,7 @@ from superset import db
|
|||
|
||||
|
||||
def bootstrap_user_data(username=None, include_perms=False):
|
||||
if username:
|
||||
username = username
|
||||
else:
|
||||
if not username:
|
||||
username = g.user.username
|
||||
|
||||
user = (
|
||||
|
|
Loading…
Reference in New Issue