0

Include the genpoi script in the .deb packages

You should now be able to run overviewer.py --genpoi without error
This commit is contained in:
Andrew Chin
2012-05-02 20:25:23 -04:00
parent af8aa13615
commit da30592a45
4 changed files with 4 additions and 5 deletions

View File

@@ -106,9 +106,9 @@ def main():
if options.genpoi:
# remove the "--genpoi" option from sys.argv before running genPI
sys.argv.remove("--genpoi")
sys.path.append(".")
g = __import__("genPOI", {}, {})
g.main()
#sys.path.append(".")
g = __import__("overviewer_core.aux_files", {}, {}, ["genPOI"])
g.genPOI.main()
return 0
if options.help:
parser.print_help()