fallout-term/fallout.py
Dalton daa930fce0
Updated Fallout.py
As per the new version of Python these changes were required to comply with the syntax changes
2021-05-19 07:49:57 -05:00

20 lines
501 B
Python
Executable file

#! /usr/bin/env python
import fallout_login as login
import fallout_boot as boot
import fallout_locked as locked
import fallout_hack as hack
import fallout_selection as select
import sys
hard = False
if len(sys.argv) == 2 and sys.argv[1].lower() == 'hard':
hard = True
if boot.beginBoot(hard):
pwd = hack.beginLogin()
if pwd != None:
login.beginLogin(hard, 'ADMIN', pwd)
print(select.beginSelection())
else:
locked.beginLocked()
print('Login failed')