pysportbot 0.0.11__py3-none-any.whl → 0.0.12__py3-none-any.whl
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.
- pysportbot/service/booking.py +3 -2
- {pysportbot-0.0.11.dist-info → pysportbot-0.0.12.dist-info}/METADATA +1 -1
- {pysportbot-0.0.11.dist-info → pysportbot-0.0.12.dist-info}/RECORD +5 -5
- {pysportbot-0.0.11.dist-info → pysportbot-0.0.12.dist-info}/LICENSE +0 -0
- {pysportbot-0.0.11.dist-info → pysportbot-0.0.12.dist-info}/WHEEL +0 -0
pysportbot/service/booking.py
CHANGED
@@ -132,8 +132,9 @@ def schedule_bookings(
|
|
132
132
|
time.sleep(remaining_time)
|
133
133
|
|
134
134
|
# Global booking delay
|
135
|
-
|
136
|
-
|
135
|
+
if booking_delay > 0:
|
136
|
+
logger.info(f"Waiting {booking_delay} seconds before attempting booking.")
|
137
|
+
time.sleep(booking_delay)
|
137
138
|
|
138
139
|
# Submit bookings in parallel
|
139
140
|
with ThreadPoolExecutor(max_workers=max_threads) as executor:
|
@@ -6,7 +6,7 @@ pysportbot/centres.py,sha256=FTK-tXUOxiJvLCHP6Bk9XEQKODQZOwwkYLlioSJPBEk,3399
|
|
6
6
|
pysportbot/endpoints.py,sha256=ANh5JAbdzyZQ-i4ODrhYlskPpU1gkBrw9UhMC7kRSvU,1353
|
7
7
|
pysportbot/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
pysportbot/service/__main__.py,sha256=gsKfDMOmsVC3LHCQs0Dmp7YWJBlZeGcTsX-Mx4mk6ro,1496
|
9
|
-
pysportbot/service/booking.py,sha256=
|
9
|
+
pysportbot/service/booking.py,sha256=oNLdY3nhs3ulAD-yFoc6YhgohbSN16xRYjEL8iyHkZg,5695
|
10
10
|
pysportbot/service/config_loader.py,sha256=t086yaAyAKkCJTpxedwhyJ7QqSf5XROGDzjrFLsUxJE,179
|
11
11
|
pysportbot/service/config_validator.py,sha256=0P_pcXU7s3T3asODqFtv3mSp1HyPoVBphE4Qe1mxcps,2615
|
12
12
|
pysportbot/service/scheduling.py,sha256=bwqbiQQ9y4ss4UXZkWuOVCgCa9XlZt1n4TT_8z9bD7M,1973
|
@@ -17,7 +17,7 @@ pysportbot/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
17
17
|
pysportbot/utils/errors.py,sha256=IRarfGtk1tETxUGAhPAIbeits_u2tJvVCGTtkHIdYFQ,5146
|
18
18
|
pysportbot/utils/logger.py,sha256=ANayMEeeAIVGKvITAxOFm2EdCbzBBTpNywuytAr4Z90,5366
|
19
19
|
pysportbot/utils/time.py,sha256=VZSW8AxFIoFD5ZSmLUPcwawp6PmpkcxNjP3Db-Hl_fw,1244
|
20
|
-
pysportbot-0.0.
|
21
|
-
pysportbot-0.0.
|
22
|
-
pysportbot-0.0.
|
23
|
-
pysportbot-0.0.
|
20
|
+
pysportbot-0.0.12.dist-info/LICENSE,sha256=6ov3DypdEVYpp2pn_B1MniKWO5C9iDA4O6PGcbork6c,1077
|
21
|
+
pysportbot-0.0.12.dist-info/METADATA,sha256=cnKqqZ72iDoVjPrnqrOxEy46gcNu0DsBdXr7BzbDIe8,5161
|
22
|
+
pysportbot-0.0.12.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
23
|
+
pysportbot-0.0.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|