FS updates and corrections

This commit is contained in:
Remy Moll
2022-06-15 11:14:08 +02:00
parent 54760abee4
commit 87d65fc988
14 changed files with 91 additions and 56 deletions

View File

@@ -158,10 +158,11 @@ def verify_unchecked():
try:
# close any previously opened windows:
subprocess.call("killall evince")
subprocess.call(["kill", "`pgrep 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