Bläddra i källkod

typing: fix script typeing

clovis 2 månader sedan
förälder
incheckning
d82439638a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      script/KdeConnect.py

+ 1 - 1
script/KdeConnect.py

@@ -71,7 +71,7 @@ class KDEConnect:
     def run_kde_command(args: list[str]) -> str:
     def run_kde_command(args: list[str]) -> str:
         command: list[str] = ["kdeconnect-cli"]
         command: list[str] = ["kdeconnect-cli"]
         command.extend(args)
         command.extend(args)
-        process: CompletedProcess = subprocess.run(command, capture_output=True)
+        process: subprocess.CompletedProcess = subprocess.run(command, capture_output=True)
 
 
         subprocess_response = process.stdout.decode("utf-8")
         subprocess_response = process.stdout.decode("utf-8")
         logging.debug("Subprocess call : \n>> " + " ".join(command) + "\n" + subprocess_response)
         logging.debug("Subprocess call : \n>> " + " ".join(command) + "\n" + subprocess_response)