11 lines
306 B
Python
11 lines
306 B
Python
from core.connection import BuzzerError
|
|
|
|
|
|
def execute(conn, source: str, target: str):
|
|
try:
|
|
conn.rename(source, target)
|
|
print(f"✅ Umbenannt/Verschoben: '{source}' -> '{target}'")
|
|
except BuzzerError as e:
|
|
print(f"❌ Fehler beim Umbenennen/Verschieben: {e}")
|
|
raise
|