mirror of
https://github.com/norohind/ED-livery-tracker-advanced.git
synced 2026-10-22 21:02:08 +03:00
remove debug prints
This commit is contained in:
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ def get_onlinestore_data() -> list[dict]:
|
||||
for item in requests.get("https://api.zaonce.net/3.0/store/product").json():
|
||||
items.append(dict(name=item["title"], cur_price=item["current_price"], orig_price=item["original_price"],
|
||||
image=item["image"]))
|
||||
print(f"Got {len(items)} items")
|
||||
# print(f"Got {len(items)} items")
|
||||
return items
|
||||
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ class PostgresModel(AbstractModel):
|
||||
database=config.postgres_database_name,
|
||||
cursor_factory=psycopg2.extras.DictCursor)
|
||||
|
||||
print(f'Connected to {self.db.dsn}')
|
||||
# print(f'Connected to {self.db.dsn}')
|
||||
|
||||
with self.db:
|
||||
with self.db.cursor() as cursor:
|
||||
@@ -42,7 +42,7 @@ class PostgresModel(AbstractModel):
|
||||
|
||||
def close_model(self):
|
||||
self.db.close()
|
||||
print(f'Connection to {self.db.dsn} closed successfully')
|
||||
# print(f'Connection to {self.db.dsn} closed successfully')
|
||||
|
||||
@errors_catcher
|
||||
def get_activity_changes(self, limit: int, low_timestamp, high_timestamp) -> list:
|
||||
|
||||
Reference in new issue
Block a user