Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
# Conflicts:
#	verbose-waffle/core/printers.py
  • Loading branch information
KyoungsueKim committed Mar 8, 2024
2 parents 9f81764 + 9e2fc1e commit 5064237
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions verbose-waffle/core/printers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
import PyPDF2
import requests
import random
from fastapi.exceptions import HTTPException

import urllib3
from requests import Response

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)


Expand Down Expand Up @@ -69,7 +66,7 @@ def send_print_data(id: str):

def send_register_doc(id: str, doc_name: str, phone_number: str, cnt: int, isA3: bool = False):
file_name = f"{id}.prn"
server = 'http://u-printon.kr.canon:62301/nologin/regist_doc/'
server = 'http://u-printon.canon-bs.co.kr:62301/nologin/regist_doc/'
header = {'Content-Type': 'application/json; charset=utf-8',
'User-Agent': None,
'Content-Disposition': f"attachment; filename={file_name}",
Expand Down

0 comments on commit 5064237

Please sign in to comment.