Cyb3r-Jak3 / useful_bot

A simple reddit bot template in python
Mozilla Public License 2.0
2 stars 2 forks source link

Directory structure #1

Closed samuellando closed 6 years ago

samuellando commented 6 years ago
Traceback (most recent call last):
  File "main.py", line 4, in <module>
    from useful_bot import datahandler, botinfo, logmaker
ModuleNotFoundError: No module named 'useful_bot'

Why already place main outside of the useful_bot folder?

Cyb3r-Jak3 commented 6 years ago

Hi @samuellando,
That is my bad. I use PyCharm and it does not importing like that so I changed it to that import but that broke the terminal use of it. Fixed now. Let me know if the fix does not work for you.
coolaspie

samuellando commented 6 years ago

@coolaspie

Thanks