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)