Changeset 10105 in genesis


Ignore:
Timestamp:
Mar 11, 2012, 11:16:32 AM (13 years ago)
Author:
rick
Message:

Allow calling from random location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10079 r10105  
    837837      import SocketServer
    838838      import CGIHTTPServer
    839       # CGI does not go backward, little hack to get ourself in the right working directory.
    840       os.chdir(os.path.dirname(__file__) + '/..')
     839      # Hop to the right working directory.
     840      os.chdir(os.path.dirname(__file__))
    841841      try:
    842842        PORT = int(sys.argv[2])
Note: See TracChangeset for help on using the changeset viewer.