BUGFIX OP25
- Handler would stay in the OP25 directory, causing profiles to get saved there
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user