Better documentation, smoother checks
This commit is contained in:
		| @@ -35,7 +35,7 @@ def file_overview(file_url: str, file_attributes: list, options: dict) -> None: | ||||
|     file_table = Table( | ||||
|         title = file_url, | ||||
|         row_styles = ["white", "bright_black"], | ||||
|         min_width = 150 | ||||
|         min_width = 100 | ||||
|     ) | ||||
|  | ||||
|     file_table.add_column("Attribute", justify = "right", no_wrap = True) | ||||
| @@ -158,11 +158,11 @@ def verify_unchecked(): | ||||
|          | ||||
|         try: | ||||
|             # close any previously opened windows: | ||||
|             subprocess.call(["kill", "`pgrep evince`"]) | ||||
|             # subprocess.call(["kill", "`pgrep evince`"]) | ||||
|             os.system("pkill evince") | ||||
|             # then open a new one | ||||
|             subprocess.Popen(["evince", f"file://{os.path.join(article.save_path, article.file_name)}"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) | ||||
|             # supress evince gtk warnings | ||||
|             print("done") | ||||
|         except Exception as e: | ||||
|             print(e) | ||||
|             continue | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Remy Moll
					Remy Moll