We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1723baa commit 40267f8Copy full SHA for 40267f8
1 file changed
democrasite/webiscite/managers.py
@@ -137,7 +137,9 @@ def create_from_github(
137
diff_text = requests.get(pull_request.diff_url, timeout=10).text
138
constitutional = bool(is_constitutional(diff_text))
139
140
- status = Bill.Status.DRAFT if pull_request.draft else Bill.Status.OPEN
+ status = (
141
+ self.model.Status.DRAFT if pull_request.draft else self.model.Status.OPEN
142
+ )
143
144
bill = self.model(
145
name=pull_request.title,
0 commit comments