fix code style issues

This commit is contained in:
Richard Schreiber
2022-09-29 16:39:35 +02:00
parent 8a079a2356
commit 0ba93c06a4

View File

@@ -32,7 +32,6 @@
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under the License. # License for the specific language governing permissions and limitations under the License.
import copy
import json import json
from collections import OrderedDict from collections import OrderedDict
from datetime import datetime, time, timedelta from datetime import datetime, time, timedelta
@@ -166,8 +165,7 @@ OPTIONS = OrderedDict([
def render_pdf(event, positions, opt): def render_pdf(event, positions, opt):
from PyPDF2 import PdfMerger, PdfReader, PdfWriter, Transformation from PyPDF2 import PdfMerger, PdfReader, PdfWriter
from PyPDF2.generic import RectangleObject
Renderer._register_fonts() Renderer._register_fonts()
renderermap = { renderermap = {