mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
[ci] auto-format
This commit is contained in:
parent
28208e1495
commit
49bcab91a4
6 changed files with 11 additions and 10 deletions
|
|
@ -837,7 +837,7 @@ class ModifiedPartyWindow(bastd_party.PartyWindow):
|
|||
newFileName = str(ba.Lstr(resource="replayNameDefaultText").evaluate(
|
||||
)+" (%s)" % (datetime.datetime.strftime(datetime.datetime.now(), "%Y_%m_%d_%H_%M_%S"))+".brp")
|
||||
newFilePath = os.path.join(dir_path+os.sep, newFileName).encode(SystemEncode)
|
||||
#print(curFilePath, newFilePath)
|
||||
# print(curFilePath, newFilePath)
|
||||
# os.rename(curFilePath,newFilePath)
|
||||
shutil.copyfile(curFilePath, newFilePath)
|
||||
_ba.reset_game_activity_tracking()
|
||||
|
|
@ -1196,7 +1196,7 @@ class ModifiedPartyWindow(bastd_party.PartyWindow):
|
|||
ba.Lstr(resource='internal.cantKickHostError'),
|
||||
color=(1, 0, 0))
|
||||
|
||||
#NewShareCodeWindow(origin_widget=self.get_root_widget(), delegate=None,code = "300",execText = u"_ba._disconnectClient(%d,{Value})"%self._popup_party_member_client_id)
|
||||
# NewShareCodeWindow(origin_widget=self.get_root_widget(), delegate=None,code = "300",execText = u"_ba._disconnectClient(%d,{Value})"%self._popup_party_member_client_id)
|
||||
def joinbombspot(self):
|
||||
import random
|
||||
url = ['https://discord.gg/CbxhJTrRta', 'https://discord.gg/ucyaesh']
|
||||
|
|
|
|||
|
|
@ -110,7 +110,8 @@ class Floater(ba.Actor):
|
|||
self.node.connectattr('position', self.node2, 'position')
|
||||
|
||||
def pop(self): PopupText(text="Ported by \ue048Freaku", scale=1.3, position=(
|
||||
self.node.position[0], self.node.position[1]-1, self.node.position[2]), color=(0, 1, 1)).autoretain() # Edit = YouNoob...
|
||||
# Edit = YouNoob...
|
||||
self.node.position[0], self.node.position[1]-1, self.node.position[2]), color=(0, 1, 1)).autoretain()
|
||||
|
||||
def checkCanControl(self):
|
||||
if not self.node.exists():
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ class CommonUtilities:
|
|||
remove(external_dir+selected_replay)
|
||||
cls_inst.on_tab_select(tab_id) # updating the tab
|
||||
Print(selected_replay[0:-4]+" was deleted", top=True, color=red)
|
||||
ConfirmWindow(text=f"Delete \"{selected_replay.split('.')[0]}\" \nfrom {'internal directory' if tab_id==MyTabId.INTERNAL else 'external directory'}?",
|
||||
ConfirmWindow(text=f"Delete \"{selected_replay.split('.')[0]}\" \nfrom {'internal directory' if tab_id == MyTabId.INTERNAL else 'external directory'}?",
|
||||
action=do_it, cancel_is_selected=True)
|
||||
|
||||
|
||||
|
|
@ -332,7 +332,7 @@ class ShareTabUi(WatchWindow):
|
|||
|
||||
# ++++++++++++++++for keyboard navigation++++++++++++++++
|
||||
|
||||
#ba.widget(edit=self.enable_button, up_widget=decrease_button, down_widget=self.lower_text,left_widget=save_button, right_widget=save_button)
|
||||
# ba.widget(edit=self.enable_button, up_widget=decrease_button, down_widget=self.lower_text,left_widget=save_button, right_widget=save_button)
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue