mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Remove print statements
This commit is contained in:
parent
548a439f14
commit
1a8d351fbd
@ -119,7 +119,6 @@ class HelperUsers:
|
||||
@staticmethod
|
||||
def get_user_total():
|
||||
count = Users.select().where(Users.username != "system").count()
|
||||
print(count)
|
||||
return count
|
||||
|
||||
@staticmethod
|
||||
|
@ -14,7 +14,6 @@ def migrate(migrator: Migrator, database, **kwargs):
|
||||
"""
|
||||
Write your migrations here.
|
||||
"""
|
||||
print("pee pee")
|
||||
db = database
|
||||
|
||||
migrator.add_columns("backups", backup_id=peewee.UUIDField(default=uuid.uuid4))
|
||||
@ -70,7 +69,6 @@ def migrate(migrator: Migrator, database, **kwargs):
|
||||
|
||||
# Copy data from the existing backups table to the new one
|
||||
for backup in Backups.select():
|
||||
print(backup)
|
||||
# Fetch the related server entry from the Servers table
|
||||
server = Servers.get(Servers.server_id == backup.server_id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user