mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
Fixing default list parameter
This commit is contained in:
@@ -13,8 +13,10 @@ class Agent(object):
|
||||
and updating the component.
|
||||
"""
|
||||
|
||||
def __init__(self, configuration, decorators=[]):
|
||||
def __init__(self, configuration, decorators=None):
|
||||
self.configuration = configuration
|
||||
if decorators is None:
|
||||
decorators = []
|
||||
self.decorators = decorators
|
||||
|
||||
def execute(self):
|
||||
|
||||
Reference in New Issue
Block a user