Skip to content

Commit 735345a

Browse files
committed
fix no file exception
1 parent 2e19a6b commit 735345a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jconfig/jconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def load(self):
3636
try:
3737
with open(self._filename, 'r') as f:
3838
settings = json.load(f)
39-
except FileNotFoundError:
39+
except IOError:
4040
settings = {}
4141

4242
settings.setdefault(self._section, {})

0 commit comments

Comments
 (0)