Skip to content

Commit

Permalink
add EventResponse and missing kvs in EVENT_OWNERS
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tal committed Mar 10, 2018
1 parent 4bcd1bf commit d04f6cb
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 21 deletions.
36 changes: 36 additions & 0 deletions eve_glue/calendar.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
"""Helpers for mapping calendar event IDs to names."""


import enum


class EventResponse(enum.Enum):
"""Enum to describe the options when responding to an event invite."""

declined = 2
not_responded = 3
accepted = 4
tentative = 5


EVENT_OWNERS = {
0: "eve_server",
2: "corporation",
30: "faction",
1373: "character",
1374: "character",
1375: "character",
1376: "character",
1377: "character",
1378: "character",
1379: "character",
1380: "character",
1381: "character",
1382: "character",
1383: "character",
1384: "character",
1385: "character",
1386: "character",
16159: "alliance",
34574: "character",
}
21 changes: 0 additions & 21 deletions eve_glue/calendar_event_owner_type.py

This file was deleted.

0 comments on commit d04f6cb

Please sign in to comment.