Skip to content

Commit

Permalink
removes holiday timeperiod creation in add_region
Browse files Browse the repository at this point in the history
  • Loading branch information
gurubert committed Dec 12, 2023
1 parent 4c2e193 commit bc11866
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion holidays/bin/holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def add_holiday_timeperiod(country=default_country, state=None, all_states=False
if args.debug:
pprint(tp)

add_holiday_timeperiod(country=args.country, state=args.state, current_year=True)
# add_holiday_timeperiod(country=args.country, state=args.state, current_year=True)

tg = None
try:
Expand Down Expand Up @@ -282,6 +282,14 @@ def add_holiday_timeperiod(country=default_country, state=None, all_states=False
topic = config['taggroup'].get('topic'),
help = config['taggroup'].get('help')
)

# nrs, etag = cmk.get_notification_rules()

# if args.debug:
# pprint(nrs)

# for nr in nrs['value']:


cmk.activate()

Expand Down
Binary file removed holidays/holidays-2.1.1.mkp
Binary file not shown.
Binary file added holidays/holidays-2.1.2.mkp
Binary file not shown.

0 comments on commit bc11866

Please sign in to comment.