Fixed config file location
This commit is contained in:
parent
1c4228df1c
commit
393e6f3306
@ -22,7 +22,7 @@ def get_configuration():
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
config = ConfigParser.RawConfigParser(allow_no_value=True)
|
config = ConfigParser.RawConfigParser(allow_no_value=True)
|
||||||
config.read('syncplay.ini')
|
config.read(os.path.join(os.path.dirname(__file__), 'syncplay.ini'))
|
||||||
try:
|
try:
|
||||||
if(args.host == None):
|
if(args.host == None):
|
||||||
host = config.get('sync', 'host')
|
host = config.get('sync', 'host')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user