BUGFIX OP25

- Handler would stay in the OP25 directory, causing profiles to get saved there
This commit is contained in:
Logan Cusano
2022-02-18 23:34:51 -05:00
parent d16ccc49fb
commit a67b5f845e

View File

@@ -24,7 +24,8 @@ class OP25Handler: #(threading.Thread):
print(f"Starting OP25")
print(os.getcwd())
cwd = os.getcwd()
print(cwd)
os.chdir(self.OP25Dir)
@@ -34,6 +35,8 @@ class OP25Handler: #(threading.Thread):
"200000", "-o", "25600", "-U", "-f", f"{self.Frequency}e6", "-X", "-2",
"-l" "http:0.0.0.0:8080"])
os.chdir(cwd)
def close_op25(self):
print(f"Closing OP25")
try: