Samathy / PostOffice

Send some bytes, They get printed on my reciept printer. Its like a one-way Telegram machine!
MIT License
2 stars 4 forks source link

Use getpass for password collection (#9) #11

Closed iguanaonmystack closed 6 years ago

iguanaonmystack commented 6 years ago

I also moved initialisation of PASSPHRASE to within if __name__ == '__main__' to avoid prompting the user for a password if postoffice.py ever gets imported from another module

iguanaonmystack commented 6 years ago

Sorry, force of habit! I usually separate builtin imports from third party dependencies, but here wasn't the right place to do it