From ffc826455584153f2c4ba61d6b70950bfe0d26b0 Mon Sep 17 00:00:00 2001 From: Skwal Date: Thu, 7 Sep 2023 16:46:15 +0200 Subject: [PATCH] little fix in readme and make program more verbose --- README.md | 4 ++-- src/main.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 008243a..e288257 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ I had the idea to create this project after seeing the logos made by [adi1090x]( First, clone this repository ```bash -git clone https://github.com/SkwalExe/octo-logohttps://github.com/SkwalExe/octo-logo +git clone https://github.com/SkwalExe/octo-logo cd octo-logo ``` @@ -77,4 +77,4 @@ python3 src/main.py # Development -Please, open an issue if you have any suggestion or if you found a bug. I will try to fix it as soon as possible. If you want to contribute, open an empty pull request and explain what you want to do, wait for me to approve it and then you can start working on it. \ No newline at end of file +Please, open an issue if you have any suggestion or if you found a bug. I will try to fix it as soon as possible. If you want to contribute, open an empty pull request and explain what you want to do, wait for me to approve it and then you can start working on it. diff --git a/src/main.py b/src/main.py index 28648c0..0379c1c 100644 --- a/src/main.py +++ b/src/main.py @@ -51,7 +51,9 @@ def main(): image = selected_style.get_image(answers["name"]) # Save result or show if debug is enabled - image.show() if DEBUG else image.save(f'output/{answers["name"]}_{int(time())}.png') + save_to = f'output/{answers["name"]}_{int(time())}.png' + image.show() if DEBUG else image.save(save_to) + print(f"Logo saved to {save_to}") if __name__ == "__main__": main()