aboutsummaryrefslogtreecommitdiff
path: root/captain
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2024-03-07 14:46:05 -0500
committerJeffrey Armstrong <jeff@approximatrix.com>2024-03-07 14:46:05 -0500
commitb6f1b5924adc97765a62b4e68caca569f91b8849 (patch)
tree4ad6df54cd0bf740411ac36f63426bfd6a251bc1 /captain
parentecc01dc193c75cee918101103fffe59dc0283d75 (diff)
downloadlevitating-b6f1b5924adc97765a62b4e68caca569f91b8849.tar.gz
levitating-b6f1b5924adc97765a62b4e68caca569f91b8849.zip
Trim the database name
Diffstat (limited to 'captain')
-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)