File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 16
16
__author__ = "ekkx"
17
17
__license__ = "MIT"
18
18
__copyright__ = "Copyright (c) 2023 ekkx"
19
- __version__ = "1.5.0"
19
+ __version__ = "1.5.0.dev1 "
20
20
21
21
from .client import Client
22
22
from .constants import *
Original file line number Diff line number Diff line change @@ -274,15 +274,15 @@ def __init__(
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 ())
You can’t perform that action at this time.
0 commit comments