Skip to content

Commit f403bb8

Browse files
committed
fix: fix -o flag not working if path has whitespace around it
1 parent 9eed3b6 commit f403bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tagstudio/src/qt/ts_qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def create_folders_tags_modal():
468468
self.init_library_window()
469469
self.migration_modal: JsonMigrationModal = None
470470

471-
path_result = self.evaluate_path(self.args.open)
471+
path_result = self.evaluate_path(str(self.args.open).strip())
472472
# check status of library path evaluating
473473
if path_result.success and path_result.library_path:
474474
self.splash.showMessage(

0 commit comments

Comments
 (0)