summaryrefslogtreecommitdiffstats
path: root/workers/git_worker.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-03 10:14:42 +0200
committerDanilo M. <danix@danix.xyz>2026-05-03 10:14:42 +0200
commit22ae089a6aedb3fb002b4e6fabd45841a2fc6c4f (patch)
treef166ac08d1c9588d530528496c9daf3b70868ea0 /workers/git_worker.py
parent40f91e39e33a129325572ef6f7c0e7dc4e3ec188 (diff)
downloadpublisher-22ae089a6aedb3fb002b4e6fabd45841a2fc6c4f.tar.gz
publisher-22ae089a6aedb3fb002b4e6fabd45841a2fc6c4f.zip
fix: correct remove_article return type, emit started via QProcess signal
Diffstat (limited to 'workers/git_worker.py')
-rw-r--r--workers/git_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/workers/git_worker.py b/workers/git_worker.py
index 00e0069..c04e4c3 100644
--- a/workers/git_worker.py
+++ b/workers/git_worker.py
@@ -45,7 +45,7 @@ class GitWorker(QThread):
return GitWorker(repo_path, ["git", "push", "origin", "production"], parent)
@staticmethod
- def remove_article(repo_path: Path, rel_path: str, slug: str, lang: str, parent=None) -> "GitWorker":
+ def remove_article(repo_path: Path, rel_path: str, slug: str, lang: str, parent=None) -> QThread:
class _RmWorker(QThread):
output = pyqtSignal(str)
error = pyqtSignal(str)