[chronojump] Fixed import debugToFile on Windows



commit d42d12a5ae132466d6e86a575db70463840f85a2
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jan 14 13:07:03 2020 +0100

    Fixed import debugToFile on Windows

 src/chronojump-importer/chronojump_importer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/chronojump-importer/chronojump_importer.py b/src/chronojump-importer/chronojump_importer.py
index 4ce4b754..609c2e63 100755
--- a/src/chronojump-importer/chronojump_importer.py
+++ b/src/chronojump-importer/chronojump_importer.py
@@ -975,7 +975,7 @@ def process_command_line():
                 DEBUGTOFILE = False
             elif args.debug_to_file != "":
                 DEBUGTOFILE = True
-                debugFile = open('/tmp/debugFile.txt', 'w')
+                debugFile = open(args.debug_to_file, 'w')
 
             importer = ImportSession(args.source, args.destination, source_base_directory, 
args.source_temp_directory)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]