Changeset 23:499fb96796e9


Ignore:
Timestamp:
Sep 1, 2013, 1:35:37 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
rebase_source:
3e6c8d8e8f53060949c8330b8342427cb2832af5
Message:

Add sys.path munging to the script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/nagslang

    r0 r23  
    11#!/usr/bin/env python
    22
     3import os
     4import sys
     5
     6sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
    37import nagslang.__main__
     8
    49if __name__ == "__main__":
    510    nagslang.__main__.main()
    6 
Note: See TracChangeset for help on using the changeset viewer.