Skip to content

Commit

Permalink
Send facility propetry's value not name (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrykaa authored Feb 9, 2021
1 parent 92a365e commit 72a046e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cysystemd/journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self, identifier=None, facility=Facility.DAEMON):
"""
logging.Handler.__init__(self)
self.__identifier = identifier
self.__facility = Facility(int(facility))
self.__facility = Facility(int(facility)).value

@staticmethod
def _to_microsecond(ts):
Expand Down

0 comments on commit 72a046e

Please sign in to comment.