Add a market class to the controller. Add a method in the Market controller to grab the market root. Display the market root in the market browser.
7 lines
208 B
Python
7 lines
208 B
Python
import os.path
|
|
import sys
|
|
|
|
#Path autodetection, only change if it doesn't work
|
|
path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding()))
|
|
homePath = os.path.expanduser(os.path.join("~", ".pyfa"))
|