Hi I have a seperate Unlock.py file to go with my main program. It will not run with the Unlock.py imported. If I comment out anything related to the Unlock.py and its functions it works.. Code here: https://paste.pythondiscord.com/K4NQ
Let me know if you want to look at the unlock code (it's big), but I suspect the problem is with the way it is being called. Thank you.