From b6f1b5924adc97765a62b4e68caca569f91b8849 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Thu, 7 Mar 2024 14:46:05 -0500 Subject: Trim the database name --- captain/captain.f90 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'captain') diff --git a/captain/captain.f90 b/captain/captain.f90 index 0892324..3d40693 100644 --- a/captain/captain.f90 +++ b/captain/captain.f90 @@ -38,7 +38,7 @@ implicit none call initialize_log(log_filename, loglevel) - call initialize_db(database_filename) + call initialize_db(trim(database_filename)) select case(mode) case(MODE_GEMINI) @@ -127,7 +127,7 @@ contains else if(trim(option) == "--verify") then if(config_loaded) then - call initialize_db(database_filename) + call initialize_db(trim(database_filename)) i = i + 1 call get_command_argument(i, username) @@ -164,7 +164,7 @@ contains ! Config better be loaded by now... if(config_loaded) then - call initialize_db(database_filename) + call initialize_db(trim(database_filename)) i = i + 1 call get_command_argument(i, username) -- cgit v1.2.3