From 76ca38dd63109bb0a8cce9a0ad1019aa95abdc8c Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Tue, 26 Nov 2013 23:22:15 +0100 Subject: [PATCH] main: Only log creation of config when file does not exist. --- mopidy/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/__main__.py b/mopidy/__main__.py index ff96cd04..1aca9cf4 100644 --- a/mopidy/__main__.py +++ b/mopidy/__main__.py @@ -129,7 +129,7 @@ def create_file_structures_and_config(args, extensions): # Initialize whatever the last config file is with defaults config_file = args.config_files[-1] - if os.path.exists(config_file): + if os.path.exists(path.expand_path(config_file)): return try: