Skip to content

Commit

Permalink
fixing type in method name (shakes fist at weak typing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Philion committed Apr 5, 2024
1 parent 7fb720c commit 066b934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions netbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def on_ready(self):
self.sync_all_threads.start() # pylint: disable=no-member

# start the expriation checker
self.check_expired_tickets.start() # pylint: disable=no-member
### FIXME self.check_expired_tickets.start() # pylint: disable=no-member
log.debug(f"Initialized with {self.redmine}")


Expand Down Expand Up @@ -335,7 +335,7 @@ def expire_expired_tickets(self):
@commands.slash_command(name="notify", description="Force ticket notifications")
async def force_notify(self, ctx: discord.ApplicationContext):
log.debug(ctx)
await self.notify_expiring_tickets()
await self.check_expired_tickets()


@tasks.loop(hours=24)
Expand Down
1 change: 0 additions & 1 deletion tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ def expire(self, ticket:Ticket):
fields = {
"assigned_to_id": INTAKE_TEAM_ID,
"status_id": "1", # New
#"due_date": "", # empty? FOR NOW
"notes": f"Ticket automatically expired after {TICKET_MAX_AGE} days due to inactivity.",
}
self.update(ticket.id, fields)
Expand Down

0 comments on commit 066b934

Please sign in to comment.