mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834
This commit is contained in:
@@ -179,7 +179,7 @@ class UnicodeFileChooserDialog(gtk.FileChooserDialog):
|
||||
encoding = sys.getfilesystemencoding() or "UTF-8"
|
||||
try:
|
||||
filename = filename.decode(encoding)
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
return filename
|
||||
|
||||
|
||||
Reference in New Issue
Block a user