blob: 53e0ff3700dde8a4fdc7a24cfad03f14fedaa65f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- examples/load_dwg.py.orig 2020-01-16 22:20:43 UTC
+++ examples/load_dwg.py
@@ -1,7 +1,7 @@
#! /usr/bin/python
#import libredwg
-from libredwg import *
+from LibreDWG import *
import sys
@@ -15,7 +15,7 @@ a.object = new_Dwg_Object_Array(1000)
error = dwg_read_file(filename, a)
if (error > 0): # critical errors
- print "Error: ", error
+ print("Error: ", error)
if (error > 127):
exit()
|