summaryrefslogtreecommitdiff
path: root/Lib/tkinter/commondialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tkinter/commondialog.py')
-rw-r--r--Lib/tkinter/commondialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/commondialog.py b/Lib/tkinter/commondialog.py
index cc3069842c..12e42fe14a 100644
--- a/Lib/tkinter/commondialog.py
+++ b/Lib/tkinter/commondialog.py
@@ -18,7 +18,7 @@ class Dialog:
command = None
def __init__(self, master=None, **options):
- if not master:
+ if master is None:
master = options.get('parent')
self.master = master
self.options = options