rpipress-downloader
rpipress-downloader copied to clipboard
'You are up to date' Never prints
if not download and not download_error:
print(
colors.OK
+ 'You are up to date.\n'
+ colors.ENDC
)
It is never printed for some reason, it's also printed at the end. It should print after each check only if the latest magazine is already downloaded, for example currently we get (using my latest PR, also tested with master):
Latest HackSpace issue is N°79
You may need to wait for the free download.
Latest HelloWorld issue is N°23
Latest MagPi issue is N°142
You may need to wait for the free download.
Latest MagPi book is 'Retro Gaming with Raspberry Pi 3rd edition'
You may need to wait for the free download.
Latest MagPi book is 'The Official Raspberry Pi Handbook 2024'
You may need to wait for the free download.
Your favorite magazines are waiting for you in file:///home/tom/Magazines/
We should get:
Latest HackSpace issue is N°79
You may need to wait for the free download.
Latest HelloWorld issue is N°23
You are up to date.
Latest MagPi issue is N°142
You may need to wait for the free download.
Latest MagPi book is 'Retro Gaming with Raspberry Pi 3rd edition'
You may need to wait for the free download.
Latest MagPi book is 'The Official Raspberry Pi Handbook 2024'
You may need to wait for the free download.
Your favorite magazines are waiting for you in file:///home/tom/Magazines/