#!/usr/bin/python3
# -*- coding: utf-8 -*-


from splash import showSplash

from functions import quit, getServiceFromUser, getPasswordFromUser, writeToFile

def main():
    while True:
        service = getServiceFromUser()
        pw = getPasswordFromUser()
        writeToFile(service, pw)



# run the program
showSplash()
main()


#!/usr/bin/python3
# -*- coding: utf-8 -*-


import hashlib

from splash import showSplash

from functions import quit, getServiceFromUser, getPasswordFromUser, \
    getUserInput, handleLogin, welcomeMessage, showMenu

from database import addUser, getAllServices, checkIfServiceExists, \
    addService, removeService, updateService, getServiceByName

def main():
    welcomeMessage()
    handleLogin()


    while True:
        showMenu()



# run the program
#showSplash()
main()


Clean up main a bit
Clean up main a bit

