mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
Fix config debug output.
This commit is contained in:
parent
8f6029219d
commit
7fe0392c90
@ -113,7 +113,7 @@ class Config:
|
||||
"""Set the 'key' with 'value'."""
|
||||
# Sets the "key" with "value" in the config dict
|
||||
if self.config[key] != value:
|
||||
log.debug("Setting '%s' to %s of type %s", key, type(value), value)
|
||||
log.debug("Setting '%s' to %s of %s", key, value, type(value))
|
||||
self.config[key] = value
|
||||
# Run the set_function for this key if any
|
||||
try:
|
||||
@ -128,7 +128,7 @@ class Config:
|
||||
# invalid
|
||||
try:
|
||||
value = self.config[key]
|
||||
log.debug("Getting '%s' as %s of type %s", key, value, type(value))
|
||||
log.debug("Getting '%s' as %s of %s", key, value, type(value))
|
||||
return value
|
||||
except KeyError:
|
||||
log.warning("Key does not exist, returning None")
|
||||
|
Loading…
x
Reference in New Issue
Block a user