From a478b229b80fc72d8c6cfb7abd2e802a6881c5c8 Mon Sep 17 00:00:00 2001 From: acidsploit Date: Tue, 6 Mar 2018 19:42:39 +0100 Subject: [PATCH] Update xpub.py --- xpub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpub.py b/xpub.py index 7ace7ab..8ecbe61 100644 --- a/xpub.py +++ b/xpub.py @@ -58,7 +58,7 @@ def find_data_dir(): for data_dir in data_dir_locations: try: os.chdir(data_dir) - except (OSError, NotADirectoryError): + except (OSError): continue if os.path.isfile('key.list'): print('Using {dir} as data directory'.format(dir=data_dir))