yaylib 1.5.0.dev1__tar.gz → 1.5.0.dev2__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.
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/PKG-INFO +1 -1
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/__init__.py +1 -1
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/LICENSE +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/README.md +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/pyproject.toml +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/__init__.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/auth.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/call.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/chat.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/group.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/misc.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/notification.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/post.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/review.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/thread.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/api/user.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/client.py +3 -3
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/config.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/constants.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/device.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/errors.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/models.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/responses.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/state.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/utils.py +0 -0
- {yaylib-1.5.0.dev1 → yaylib-1.5.0.dev2}/yaylib/ws.py +0 -0
|
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
|
|
@@ -274,15 +274,15 @@ class Client(WebSocketInteractor):
|
|
|
274
274
|
self.thread = ThreadApi(self)
|
|
275
275
|
self.user = UserApi(self)
|
|
276
276
|
|
|
277
|
+
if not os.path.exists(base_path):
|
|
278
|
+
os.makedirs(base_path)
|
|
279
|
+
|
|
277
280
|
self.__state = state or State(storage_path=base_path + "secret.db")
|
|
278
281
|
self.__header_manager = HeaderManager(Device.create(), self.__state)
|
|
279
282
|
self.__ratelimit = RateLimit(wait_on_ratelimit, max_ratelimit_retries)
|
|
280
283
|
|
|
281
284
|
self.logger = logging.getLogger("yaylib version: " + __version__)
|
|
282
285
|
|
|
283
|
-
if not os.path.exists(base_path):
|
|
284
|
-
os.makedirs(base_path)
|
|
285
|
-
|
|
286
286
|
ch = logging.StreamHandler()
|
|
287
287
|
ch.setLevel(loglevel)
|
|
288
288
|
ch.setFormatter(CustomFormatter())
|
|
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
|