jquast / x84

A python telnet/ssh server for modern terminals. In spirit of classic software such as ami/x, teleguard, renegade, iniquity.

Home Page:http://x84.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

art path in main.py does not appear to be relative to script file

nolageek opened this issue · comments

main.py is not looking into the art directory relative to itself, it always uses (path)/x84/default/art/, regarding of what is in default.ini as the scriptpath

For example I have this in default.ini

scriptpath = /home/bbs/x84/local/lib/python2.7/site-packages/x84/district

but main.py is still trying to pull the art file from

scriptpath = /home/bbs/x84/local/lib/python2.7/site-packages/x84/default

The only difference I saw from other files in the scriptfiles dir is that the others are using 'from common import' and not 'from x84.bbs.common import' like main.py was.

if I swap out 'from x84.bbs.common import' with 'from common import' in main.py it finds them in district again.