Conditions | 5 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python |
||
11 | def main(): |
||
12 | log.info("Generating sample images...") |
||
13 | |||
14 | app = create_app(ProductionConfig) |
||
15 | |||
16 | with app.app_context(): |
||
17 | |||
18 | for template in app.template_service.all(): |
||
19 | for text in [Text("_"), template.sample_text]: |
||
20 | for watermark in ["", "memegen.link"]: |
||
21 | create_image(app, template, text, watermark) |
||
22 | |||
35 |