We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a754d commit 402b656Copy full SHA for 402b656
main.py
@@ -17,6 +17,7 @@
17
for i in data.json():
18
issue = Issue(i)
19
print(f'founded labels are: {issue.labels}, saving data') if config.DEBUG else ...
20
- with open(f'{config.PUBLISH_DIR}/{issue.title}.md', 'w') as fli:
21
- fli.write(issue.body)
22
- print(f'data saved') if config.DEBUG else ...
+ if config.ISSUES_LABEL in issue.labels:
+ with open(f'{config.PUBLISH_DIR}/{issue.title}.md', 'w') as fli:
+ fli.write(issue.body)
23
+ print(f'data saved') if config.DEBUG else ...
0 commit comments