Skip to content

Commit 9baddae

Browse files
committed
Fixed lint issues
1 parent abdf3a3 commit 9baddae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book_Man/Dialog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ def open_clicked(self):
108108
finalpath = '/'.join(item[:-1])
109109
if finalpath:
110110
os.startfile(finalpath)
111-
except:
112-
print("Open Error Occurred")
111+
except Exception as e:
112+
print("Open Error Occurred",e)
113113

114114
def ok_clicked(self):
115115
self.data['name'] = self.lineEdit.text()

0 commit comments

Comments
 (0)