Projects STRLCPY cupp Commits 40f86544
🤬
  • fix relative path error for cupp.cfg

  • Loading...
  • Mebus committed 6 years ago
    40f86544
    1 parent 96136a03
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■
    cupp.py
    skipped 44 lines
    45 45   
    46 46  # Reading configuration file...
    47 47  config = configparser.ConfigParser()
    48  -config.read('cupp.cfg')
     48 +config.read(os.path.join(os.path.dirname(__file__), 'cupp.cfg'))
    49 49   
    50 50  years = config.get('years', 'years').split(',')
    51 51  chars = config.get('specialchars', 'chars').split(',')
    skipped 1823 lines
Please wait...
Page is in error, reload to recover