simplex 1.2.43__tar.gz → 1.2.45__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of simplex might be problematic. Click here for more details.
- {simplex-1.2.43 → simplex-1.2.45}/PKG-INFO +1 -1
- {simplex-1.2.43 → simplex-1.2.45}/setup.py +1 -1
- {simplex-1.2.43 → simplex-1.2.45}/simplex/simplex.py +8 -8
- {simplex-1.2.43 → simplex-1.2.45}/simplex.egg-info/PKG-INFO +1 -1
- {simplex-1.2.43 → simplex-1.2.45}/LICENSE +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/README.md +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/pyproject.toml +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/setup.cfg +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex/__init__.py +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex/cli.py +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex/deploy/__init__.py +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex/deploy/push.py +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex.egg-info/SOURCES.txt +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex.egg-info/dependency_links.txt +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex.egg-info/entry_points.txt +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex.egg-info/requires.txt +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/simplex.egg-info/top_level.txt +0 -0
- {simplex-1.2.43 → simplex-1.2.45}/tests/test.py +0 -0
|
@@ -64,13 +64,12 @@ class Simplex:
|
|
|
64
64
|
self.pw = None
|
|
65
65
|
|
|
66
66
|
def close_session(self):
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
print(f"Failed to close pw_browser: {e}")
|
|
67
|
+
if self.pw_browser:
|
|
68
|
+
try:
|
|
69
|
+
self.pw_browser.close()
|
|
70
|
+
self.pw_browser = None
|
|
71
|
+
except Exception as e:
|
|
72
|
+
print(f"Failed to close pw_browser: {e}")
|
|
74
73
|
if self.pw:
|
|
75
74
|
try:
|
|
76
75
|
self.pw.stop()
|
|
@@ -136,7 +135,8 @@ class Simplex:
|
|
|
136
135
|
|
|
137
136
|
# Start Playwright without using context manager
|
|
138
137
|
self.pw = sync_playwright().start()
|
|
139
|
-
self.
|
|
138
|
+
self.connect_url = response_json['connect_url']
|
|
139
|
+
# self.pw_browser = self.pw.chromium.connect_over_cdp(response_json['connect_url'])
|
|
140
140
|
|
|
141
141
|
if show_in_console:
|
|
142
142
|
print(f"Livestream URL: {livestream_url}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|