- logo + logo

Inkycal

Main class for inkycal Project diff --git a/docs/quickstart.html b/docs/quickstart.html index be927d0..4368c41 100644 --- a/docs/quickstart.html +++ b/docs/quickstart.html @@ -102,7 +102,7 @@ pip3 install -e

Creating settings file

-

Please navigate to the WEB-UI to create your settings file.

+

Please navigate to the WEB-UI to create your settings file.

Copy the generated settings file to the Raspberry Pi more coming soon..

diff --git a/docsource/about.md b/docsource/about.md index c3ceb43..dd7b97d 100644 --- a/docsource/about.md +++ b/docsource/about.md @@ -1,5 +1,5 @@ # About Inkycal -inkycal logo +inkycal logo Inkycal is a python3 software for selected E-Paper displays. It's open-source (non-commercially), fully modular, user-friendly and even runs diff --git a/docsource/quickstart.md b/docsource/quickstart.md index bc0078c..36100f6 100644 --- a/docsource/quickstart.md +++ b/docsource/quickstart.md @@ -17,7 +17,7 @@ pip3 install -e ./ ``` ## Creating settings file -Please navigate to the [WEB-UI](https://aceisace.eu.pythonanywhere.com/index) to create your settings file. +Please navigate to the [WEB-UI](https://inkycal.aceinnolab.com) to create your settings file. Copy the generated settings file to the Raspberry Pi more coming soon.. diff --git a/inkycal/modules/inkycal_textfile_to_display.py b/inkycal/modules/inkycal_textfile_to_display.py index dc36ad1..cc7bff3 100644 --- a/inkycal/modules/inkycal_textfile_to_display.py +++ b/inkycal/modules/inkycal_textfile_to_display.py @@ -78,13 +78,17 @@ class TextToDisplay(inkycal_module): with open(self.filepath, 'r') as file: file_content = file.read() - fitted_content = text_wrap(file_content, font=self.font, max_width=im_width) + # Split content by lines if not making a request + if not self.make_request: + lines = file_content.split('\n') + else: + lines = text_wrap(file_content, font=self.font, max_width=im_width) # Trim down the list to the max number of lines - del fitted_content[max_lines:] + del lines[max_lines:] # Write feeds on image - for index, line in enumerate(fitted_content): + for index, line in enumerate(lines): write( im_black, line_positions[index], diff --git a/setup.py b/setup.py index e120a94..934af0e 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ __version__ = "2.0.4" __description__ = "Inkycal is a python3 software for syncing icalendar events, weather and news on selected E-Paper displays" __packages__ = ["inkycal"] __author__ = "aceinnolab" -__author_email__ = "aceisace63@yahoo.com" +__author_email__ = "inkycal@aceinnolab.com" __url__ = "https://github.com/aceinnolab/Inkycal" __install_requires__ = required