From fb5b189268518622801db9d87566a31a9654493d Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Tue, 19 Sep 2023 01:48:20 +0530 Subject: [PATCH] Bugfix: prescriber save --- setting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setting.py b/setting.py index 44b2286..ca4b4ba 100644 --- a/setting.py +++ b/setting.py @@ -176,7 +176,7 @@ class EditPrescriber(QMainWindow): def save(self, file=False): if(file is not False or QMessageBox.StandardButton.Yes==QMessageBox.question(self,"Confirm Save", "This action will overwrite the previous information. Continue?")): - if file is None: + if file is False: file=self.file try: self.prescriber["name"]=self.input_name.text() -- 2.39.5