Skip to content

Commit

Permalink
p/pronsole: Fix load_default_rc invalid syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rockstorm101 committed Mar 2, 2018
1 parent ff16e0b commit 497179c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions printrun/pronsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,9 @@ def load_default_rc(self):
# if not, use the "new" location provided by appdirs
if os.path.exists(os.path.expanduser("~/.pronsolerc")):
config = os.path.expanduser("~/.pronsolerc")
else if os.path.exists(os.path.expanduser("~/printrunconf.ini")):
elif os.path.exists(os.path.expanduser("~/printrunconf.ini")):
config = os.path.expanduser("~/printrunconf.ini")
else
else:
if not os.path.exists(self.config_dir):
os.makedirs(self.config_dir)

Expand Down

0 comments on commit 497179c

Please sign in to comment.