updated gitignore

This commit is contained in:
weckyy702
2020-12-26 14:39:20 +01:00
parent e8962c7497
commit 7fadbd0ff2
3 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -2,4 +2,5 @@ __pycache__/
res/output/
res/input/
.vscode/
*.pyc
*.pyc
*.png

View File

@@ -7,4 +7,4 @@ In the final version, you will just have to execute the nassi.exe and choose you
Using:
PySimpleGUI &
Pillow
Pillow

View File

@@ -24,7 +24,7 @@ class NassiShneidermanDiagram:
self.instructions[instruction_key] = instruction
logging.debug("added instruction %s : %s", instruction_key, instruction.instruction_text)
def convert_to_image(self, filename: str, x_size=200):
def convert_to_image(self, filename: str, x_size: int=200):
logging.info(f"Saving NSD to {filename}.png")
cti.NSD_init(x_size, 5000)
x, y, x_sz = 0, 0, x_size