Werk #12977: Fix UnboundLocalError on host import via CSV file

Component User interface
Title Fix UnboundLocalError on host import via CSV file
Date Jul 14, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If you used the option "Import hosts via CSV file" on page "Setup" - "Hosts" with option "Perform automatic service discovery" disabled, the following error "UnboundLocalError (local variable 'folder_path' referenced before assignment)" occured.

To the list of all Werks