Skip to content

Commit

Permalink
Change IOError to FileNotFoundError
Browse files Browse the repository at this point in the history
  • Loading branch information
kliment committed Mar 1, 2018
1 parent 7dfd4b1 commit 050e905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printrun/pronsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def load_default_rc(self):
# Load the default configuration file
try:
self.load_rc(config)
except IOError:
except FileNotFoundError:
# Make sure the filename is initialized,
# and create the file if it doesn't exist
self.rc_filename = config
Expand Down

0 comments on commit 050e905

Please sign in to comment.