Update readme.md

This commit is contained in:
ульба 2022-01-25 16:37:12 +05:00
parent 3488d7442a
commit 4629b2b2ee

View File

@ -64,7 +64,7 @@ mockup.generate(template=mockup.templates[0],
>>> /path/to/mockup
```
##### `MockupEngineerInstance.generate` parameters:
#### `MockupEngineerInstance.generate` parameters:
* `template`: *Template* — Device template model, must be passed from *MockupEngineerInstance.templates* or *MockupEngineerInstance.get_templates()*.
* `screenshot_path`: *str* — Absolute path to the image in **JPG, PNG format**.
* `color`: *Optional[str]* — Optional parameter, force device color. Must be passed according to *Template.colors[**n**].color*