__file__ change for foresightlinux people
This commit is contained in:
parent
02cd556f18
commit
603675494d
2
setup.py
2
setup.py
|
@ -232,7 +232,7 @@ class build_trans(cmd.Command):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
po_dir = os.path.join(os.path.dirname(__file__), 'po')
|
po_dir = os.path.join(os.path.dirname(os.curdir), 'po')
|
||||||
for path, names, filenames in os.walk(po_dir):
|
for path, names, filenames in os.walk(po_dir):
|
||||||
for f in filenames:
|
for f in filenames:
|
||||||
if f.endswith('.po'):
|
if f.endswith('.po'):
|
||||||
|
|
Loading…
Reference in New Issue