Skip to content

Commit 759ad6b

Browse files
T4rk1nalexcjohnson
andauthored
Update dash/dash.py
Co-authored-by: Alex Johnson <[email protected]>
1 parent c97c622 commit 759ad6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/dash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def __init__( # pylint: disable=too-many-statements
396396
):
397397
_validate.check_obsolete(obsolete)
398398

399-
caller_name = get_caller_name()
399+
caller_name = None if name else get_caller_name()
400400

401401
# We have 3 cases: server is either True (we create the server), False
402402
# (defer server creation) or a Flask app instance (we use their server)

0 commit comments

Comments
 (0)