mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[Daemon] Fix unable to use uppercase log level
This commit is contained in:
parent
4e5754b285
commit
5590c31ace
1 changed files with 2 additions and 0 deletions
|
@ -179,6 +179,8 @@ this should be an IP address", metavar="IFACE",
|
|||
# Setup the logger
|
||||
if options.quiet:
|
||||
options.loglevel = "none"
|
||||
if options.loglevel:
|
||||
options.loglevel = options.loglevel.lower()
|
||||
if options.logfile:
|
||||
# Try to create the logfile's directory if it doesn't exist
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue