From eddfa7cb8e3450b8b32246967e4e9e7a0a533e0b Mon Sep 17 00:00:00 2001 From: Jarian Cottingham Date: Mon, 2 Feb 2026 21:21:39 -0600 Subject: [PATCH] Fix main.py FTP command - pass correct config object to FTPServerManager --- factsdb/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factsdb/main.py b/factsdb/main.py index 017929d..a4d06c5 100644 --- a/factsdb/main.py +++ b/factsdb/main.py @@ -35,7 +35,7 @@ def main(): app.run(debug=False, host='0.0.0.0', port=5000) elif command == "ftp": # Start FTP server - ftp_manager = FTPServerManager(config.ftp) + ftp_manager = FTPServerManager(config) # Add current directory as allowed directory current_dir = os.path.abspath('.') ftp_manager.add_allowed_directory(current_dir)