can run the exe file, probleme with pem resolved

This commit is contained in:
2022-05-12 22:31:15 +02:00
parent 96b0f3bdb8
commit ab153349a4
4 changed files with 18 additions and 18 deletions
+5 -4
View File
@@ -27,11 +27,11 @@ exe = EXE(
[], [],
exclude_binaries=True, exclude_binaries=True,
name='appointment', name='appointment',
debug=False, debug=True,
bootloader_ignore_signals=False, bootloader_ignore_signals=False,
strip=False, strip=False,
upx=True, upx=False,
console=False, console=True,
disable_windowed_traceback=False, disable_windowed_traceback=False,
argv_emulation=False, argv_emulation=False,
target_arch=None, target_arch=None,
@@ -51,4 +51,5 @@ coll = COLLECT(
import shutil import shutil
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\appointment.json', '{0}/appointment.json'.format(DISTPATH)) shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\appointment.json', '{0}/appointment.json'.format(DISTPATH))
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\contact_all.xlsx', '{0}/contact_all.xlsx'.format(DISTPATH)) shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\contact_all.xlsx', '{0}/contact_all.xlsx'.format(DISTPATH))
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\config.ini', '{0}/config.ini'.format(DISTPATH)) shutil.copyfile('.\config.ini', '{0}/config.ini'.format(DISTPATH))
shutil.copytree('./venv\Lib/site-packages/grpc/_cython/_credentials', '{0}/appointment/grpc/_cython/_credentials'.format(DISTPATH))
+2 -2
View File
@@ -1,6 +1,6 @@
dataclasses_json==0.5.6 dataclasses_json==0.5.7
firebase_admin==5.2.0 firebase_admin==5.2.0
pandas==1.4.1 pandas~=1.3.5
playwright==1.21.0 playwright==1.21.0
dataclasses~=0.6 dataclasses~=0.6
oci~=2.54.1 oci~=2.54.1
-1
View File
@@ -231,7 +231,6 @@ class CommandorPage:
self.logger.error(error) self.logger.error(error)
def clickOnValidBtn(self): def clickOnValidBtn(self):
# self.page.mouse.wheel(0, random.randint(400, 500))
time.sleep(get_random_wait_time()) time.sleep(get_random_wait_time())
try: try:
self.page.evaluate("""document.getElementsByClassName("btn")[0].focus();""") self.page.evaluate("""document.getElementsByClassName("btn")[0].focus();""")