mirror of https://github.com/MISP/misp-dashboard
				
				
				
			- Small typo, one _ missing on each side ;)
							parent
							
								
									a6c4f2928d
								
							
						
					
					
						commit
						b7be2afaa1
					
				|  | @ -9,7 +9,7 @@ import util | |||
| import contributor_helper | ||||
| 
 | ||||
| ONE_DAY = 60*60*24 | ||||
| configfile = os.path.join(os.path.dirname(os.path.realpath(_file_)), 'config/config.cfg') | ||||
| configfile = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config/config.cfg') | ||||
| cfg = configparser.ConfigParser() | ||||
| cfg.read(configfile) | ||||
| serv_log = redis.StrictRedis( | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ from helpers import contributor_helper | |||
| from helpers import users_helper | ||||
| from helpers import trendings_helper | ||||
| 
 | ||||
| configfile = os.path.join(os.path.dirname(os.path.realpath(_file_)), 'config/config.cfg') | ||||
| configfile = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config/config.cfg') | ||||
| cfg = configparser.ConfigParser() | ||||
| cfg.read(configfile) | ||||
| 
 | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ import os | |||
| import sys | ||||
| import json | ||||
| 
 | ||||
| configfile = os.path.join(os.path.dirname(os.path.realpath(_file_)), 'config/config.cfg') | ||||
| configfile = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config/config.cfg') | ||||
| cfg = configparser.ConfigParser() | ||||
| cfg.read(configfile) | ||||
| logDir = cfg.get('Log', 'directory') | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue