This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name yourdomain.com www.yourdomain.com; | |
access_log /var/log/nginx/domlogs/yourdomain.com.log; | |
root /home/imbrapos/yourdomain.com; | |
location / { | |
proxy_pass http://localhost:YOUR_PORT; | |
proxy_set_header Host $host; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" ftp/utilities/pdf.py """ | |
import os | |
from PyPDF2 import PdfFileWriter | |
import frappe | |
NoneType = type(None) | |
''' | |
USAGE EXAMPLE: |