code quality improvements
This commit is contained in:
		| @@ -7,11 +7,11 @@ If the content is too long, it will be truncated from the back until it fits | |||||||
|  |  | ||||||
| Copyright by aceinnolab | Copyright by aceinnolab | ||||||
| """ | """ | ||||||
| from inkycal.modules.template import inkycal_module |  | ||||||
| from inkycal.custom import * |  | ||||||
|  |  | ||||||
| from urllib.request import urlopen | from urllib.request import urlopen | ||||||
|  |  | ||||||
|  | from inkycal.custom import * | ||||||
|  | from inkycal.modules.template import inkycal_module | ||||||
|  |  | ||||||
| logger = logging.getLogger(__name__) | logger = logging.getLogger(__name__) | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -44,7 +44,6 @@ class TextToDisplay(inkycal_module): | |||||||
|  |  | ||||||
|         self.make_request = True if self.filepath.startswith("https://") else False |         self.make_request = True if self.filepath.startswith("https://") else False | ||||||
|  |  | ||||||
|  |  | ||||||
|         # give an OK message |         # give an OK message | ||||||
|         print(f'{__name__} loaded') |         print(f'{__name__} loaded') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user