aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--captain/captain.f906
1 files changed, 3 insertions, 3 deletions
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)