Minor changes to project structure, updated changelog and contributors.
This commit is contained in:
committed by
Michael Lazar
parent
3d106fbb20
commit
b04e67379b
@@ -54,8 +54,8 @@ def main():
|
||||
data['copyright'] = rtv.__copyright__
|
||||
# Escape dashes is all of the sections
|
||||
data = {k:v.replace('-', r'\-') for k,v in data.items()}
|
||||
print('Reading from %s/templates/rtv.1' % ROOT)
|
||||
with open(os.path.join(ROOT, 'templates/rtv.1')) as fp:
|
||||
print('Reading from %s/templates/rtv.1.template' % ROOT)
|
||||
with open(os.path.join(ROOT, 'templates/rtv.1.template')) as fp:
|
||||
template = fp.read()
|
||||
print('Populating template')
|
||||
out = template.format(**data)
|
||||
@@ -64,4 +64,4 @@ def main():
|
||||
fp.write(out)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user