Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
7c0c514e
Commit
7c0c514e
authored
May 16, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work on backwards compatibility
parent
b7b03e33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
pronterface.py
pronterface.py
+9
-5
No files found.
pronterface.py
View file @
7c0c514e
...
...
@@ -15,7 +15,12 @@
# You should have received a copy of the GNU General Public License
# along with Printrun. If not, see <http://www.gnu.org/licenses/>.
import
os
,
queue
,
re
import
os
,
re
try
:
import
queue
except
ImportError
:
import
Queue
as
queue
from
printrun.printrun_utils
import
install_locale
install_locale
(
'pronterface'
)
...
...
@@ -23,15 +28,14 @@ install_locale('pronterface')
try
:
import
wx
except
:
print
(
_
(
"
WX is not installed. This program requires WX
to run."
))
print
(
_
(
"
wxPython is not installed. This program requires wxPython
to run."
))
raise
import
sys
,
glob
,
time
,
datetime
,
threading
,
traceback
,
io
,
subprocess
import
sys
,
glob
,
time
,
datetime
,
threading
,
traceback
,
subprocess
from
io
import
StringIO
from
printrun.pronterface_widgets
import
*
from
serial
import
SerialException
StringIO
=
cStringIO
winsize
=
(
800
,
500
)
layerindex
=
0
if
os
.
name
==
"nt"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment