mirror of
https://github.com/pretix/pretix.git
synced 2026-05-17 17:14:04 +00:00
fix code style issues
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user