update: removed debug lines
This commit is contained in:
parent
b2c8794ec8
commit
691f9490e3
5 changed files with 0 additions and 19 deletions
|
|
@ -37,7 +37,6 @@ import json
|
|||
|
||||
# error log, which line:
|
||||
import traceback
|
||||
import interact_with_rest_of_app.which_profile_is_being_used as which_profile_module
|
||||
|
||||
# GUI visual:
|
||||
from PyQt6.QtWidgets import QApplication, QWidget, QVBoxLayout, QLabel, QComboBox, QPushButton, QSizePolicy, QMessageBox, QListWidget, QGridLayout, QHBoxLayout, QComboBox, QMainWindow, QInputDialog, QLineEdit
|
||||
|
|
|
|||
BIN
SMS-Exchange-Linux-GUI/interact_with_rest_of_app/__pycache__/process_the_proxy.cpython-312.pyc
Normal file → Executable file
BIN
SMS-Exchange-Linux-GUI/interact_with_rest_of_app/__pycache__/process_the_proxy.cpython-312.pyc
Normal file → Executable file
Binary file not shown.
BIN
SMS-Exchange-Linux-GUI/interact_with_rest_of_app/__pycache__/which_profile_is_being_used.cpython-312.pyc
Normal file → Executable file
BIN
SMS-Exchange-Linux-GUI/interact_with_rest_of_app/__pycache__/which_profile_is_being_used.cpython-312.pyc
Normal file → Executable file
Binary file not shown.
|
|
@ -3,11 +3,6 @@ import json
|
|||
from core.Constants import Constants
|
||||
import interact_with_rest_of_app.which_profile_is_being_used as which_profile_module
|
||||
|
||||
current_profile_number = which_profile_module.which_profile_is_being_used()
|
||||
|
||||
print('the current profile number is: ', current_profile_number)
|
||||
print('the path is: ', Constants.HV_PROFILE_CONFIG_HOME)
|
||||
|
||||
|
||||
def process_the_proxy(returned_data_as_a_dictionary):
|
||||
proxy_ip_address_in_GUI = returned_data_as_a_dictionary.get(
|
||||
|
|
@ -30,7 +25,6 @@ def process_the_proxy(returned_data_as_a_dictionary):
|
|||
}
|
||||
|
||||
current_profile_number = which_profile_module.which_profile_is_being_used()
|
||||
print('the current profile number is: ', current_profile_number)
|
||||
custom_path = f'{Constants.HV_PROFILE_CONFIG_HOME}/{current_profile_number}/proxyTEST.json'
|
||||
|
||||
# Ensure the directory exists
|
||||
|
|
|
|||
|
|
@ -1,21 +1,9 @@
|
|||
import sys
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
try:
|
||||
print('the profile id is: ', sys.argv[1])
|
||||
assigned_profile_id = int(sys.argv[1])
|
||||
except ValueError:
|
||||
print('Error: Profile ID must be an integer.')
|
||||
sys.exit(1)
|
||||
else:
|
||||
print('Error: No profile ID provided.')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def which_profile_is_being_used():
|
||||
if len(sys.argv) > 1:
|
||||
try:
|
||||
print('the profile id is: ', sys.argv[1])
|
||||
return int(sys.argv[1])
|
||||
except ValueError:
|
||||
print('Error: Profile ID must be an integer.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue