Skip to content

Commit

Permalink
Merge pull request #202 from Freaku17/main
Browse files Browse the repository at this point in the history
Fix file_share.py
  • Loading branch information
rikkolovescats committed Dec 8, 2023
2 parents 54b3530 + db99c82 commit c9cf237
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions plugins/utilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,12 @@
}
],
"versions": {
"1.0.1": {
"api_version": 8,
"commit_sha": "b089293",
"released_on": "08-12-2023",
"md5sum": "d89537f6737829f3527b8ed32a1b12bf"
},
"1.0.0": {
"api_version": 8,
"commit_sha": "dbd41c4",
Expand Down
4 changes: 3 additions & 1 deletion plugins/utilities/file_share.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@
import logging
from babase._general import Call
from typing import TYPE_CHECKING
from baenv import TARGET_BALLISTICA_BUILD
if TYPE_CHECKING:
from typing import Any, Callable, Sequence

app = _babase.app

MODS_DIR = app.python_directory_user

MODS_DIR = app.python_directory_user if TARGET_BALLISTICA_BUILD < 21282 else app.env.python_directory_user
REPLAYS_DIR = bui.get_replays_dir()
HEADERS = {
'accept': 'application/json',
Expand Down

0 comments on commit c9cf237

Please sign in to comment.