Terminal.py for bs1.7

Sorry I was in a hurry
This commit is contained in:
Freaku17 2022-07-15 15:10:28 +05:30 committed by GitHub
parent be81bb0067
commit 9825901eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,7 @@ def yeet_sys():
def update_mods():
mods_folder = _ba.env()['python_directory_user']
for mod in os.listdir(mods_folder):
if mod.endswith('.py') and not mod=='Terminal.py':
if mod.endswith('.py') and not mod==__name__+'.py':
data = open(mods_folder+os.sep+mod).read()
data = data.replace('# ba_meta require api 6', '# ba_meta require api 7')
data = data.replace('def on_app_launch(self)', 'def on_app_running(self)')