Module doesn't run in superuser #14
Labels
bug
Something isn't working
hacktoberfest
Label for Hacktoberfest
help wanted
Extra attention is needed
Description
If the script is started as superuser, it crashes instantly without moving in to the main menu.
Expected Behavior
Should display the main menu
Steps to reproduce
cd fsociety && sudo python -m fsociety3
Logs attached
traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/madhurjya/Documents/fsociety/fsociety3/main.py", line 81, in
main()
File "/home/madhurjya/Documents/fsociety/fsociety3/main.py", line 77, in main
import main as fsociety_main
ModuleNotFoundError: No module named 'main'
The text was updated successfully, but these errors were encountered: