Skip to content

Commit 0fcc5a3

Browse files
committed
Use _log, the log function throws errors about argument conversion. this
works, good enough.
1 parent 42d88c0 commit 0fcc5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

troi/content_resolver/subsonic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
logging.addLevelName(APP_LOG_LEVEL_NUM, "NOTICE")
1818

1919
def applog(message, *args, **kwargs):
20-
logger.log(APP_LOG_LEVEL_NUM, message, args, **kwargs)
20+
logger._log(APP_LOG_LEVEL_NUM, message, args, **kwargs)
2121

2222

2323
class SubsonicDatabase(Database):

0 commit comments

Comments
 (0)