mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-23 08:04:20 +01:00
helpme: fix out of range access in configfile parser
This commit is contained in:
committed by
Christian Decker
parent
41e440522e
commit
62e237235d
@@ -512,7 +512,7 @@ node! Be prepared to lose your funds (but please report a bug if you do!)
|
||||
continue
|
||||
parts = l2.split('=', 1)
|
||||
if len(parts) == 1:
|
||||
parts[1] = None
|
||||
parts.append(None)
|
||||
config[parts[0]].append(parts[1])
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user