Skip to content

Commit

Permalink
Merge: #13 from cheese-cracker
Browse files Browse the repository at this point in the history
Update: Fixed typographical errors in error messages
  • Loading branch information
Rahul Bothra authored Dec 16, 2017
2 parents 21fe8cd + 418a463 commit 3d3df74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import io
import requests
except ImportError:
quit("Required Libraries aren't installed. Please restart the installaition")
quit("Required Libraries aren't installed. Please restart installation.")

join = os.path.join
INSTALL_PATH = join(os.path.expanduser("~"), ".termi-nalanda")
Expand Down Expand Up @@ -83,11 +83,11 @@ def main():
dump, session = login()
get_sub_list(session)
except KeyboardInterrupt:
print "Installation cancelled by user. Plase retry"
print("Installation cancelled by user. Please retry.")
except requests.exceptions.ConnectionError:
quit("No Internet Connection. Please retry")
quit("No Internet Connection. Please retry.")
except IOError:
quit("Unable to read from file. Please reinstall termi-Nalanda")
quit("Unable to read from file. Please reinstall termi-Nalanda.")


if(__name__ == "__main__"):
Expand Down

0 comments on commit 3d3df74

Please sign in to comment.