f
All checks were successful
Deploy App to Docker / deploy (push) Successful in 24s

This commit is contained in:
zman 2025-04-07 17:09:07 -04:00
parent 57ac76386b
commit 168313d882
2 changed files with 5 additions and 5 deletions

View File

@ -2,9 +2,9 @@
<html>
<head>
<style>
/* Setting up the page size - 4x6 inches */
/* Setting up the page size for landscape orientation - 6x4 inches */
@page {
size: 4in 6in;
size: 6in 4in; /* Landscape orientation */
margin: 0;
}
@ -12,8 +12,8 @@
body {
margin: 0;
padding: 0;
width: 4in;
height: 6in;
width: 6in; /* Adjusted for landscape */
height: 4in; /* Adjusted for landscape */
position: relative;
font-family: Arial, sans-serif;
}

View File

@ -32,7 +32,7 @@ class TCGPlayerAPIService:
self.template_dir = "/app/app/assets/templates"
self.env = Environment(loader=FileSystemLoader(self.template_dir))
self.address_label_template = self.env.get_template("address_label.html")
self.return_address_png = "/app/app/assets/images/ccrcardsaddress.png"
self.return_address_png = "file:///app/app/assets/images/ccrcardsaddress.png"
def get_cookies(self) -> dict:
if self.is_in_docker: