made root path a variable to remove duplication.

This commit is contained in:
Rudi Grinberg 2012-11-19 16:06:19 -05:00
parent cd7d292aa5
commit e46da35d3b
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def main(main_cfg):
print("Launched all instances")
if __name__ == '__main__':
root = '/home/rudi/reps/Airtime/python_apps/media-monitor2'
default = {
'log_path' : join(root, 'test.log'), # config for log
'log_config' : join(root, 'configs/logging.cfg'), # where to log