phase1: fix option parsing typo for 'ul_lock'
authorThibaut VARÈNE <hacks@slashdirt.org>
Thu, 20 Oct 2022 14:06:54 +0000 (16:06 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 15 May 2023 15:36:01 +0000 (17:36 +0200)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/master.cfg

index 09d3cd424c67820445e81ad87c9eb0b80f31d333..2e5076e1b7d61ef10f156c4c1396405748db1008 100644 (file)
@@ -99,7 +99,7 @@ for section in ini.sections():
                                if lockname not in NetLocks:
                                        NetLocks[lockname] = locks.MasterLock(lockname)
                        if ini.has_option(section, "ul_lock"):
-                               lockname = ini.get(section, "dl_lock")
+                               lockname = ini.get(section, "ul_lock")
                                sl_props['ul_lock'] = lockname
                                if lockname not in NetLocks:
                                        NetLocks[lockname] = locks.MasterLock(lockname)