Skip to content

Commit

Permalink
Fixes #28 - Added missing sys module import
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfx committed Nov 5, 2016
1 parent 727ee3c commit 2a76b46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/pubScriptEditor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
import errno
import socket
import maya.OpenMaya
Expand All @@ -8,10 +9,10 @@
from StringIO import StringIO

if '_MayaSublime_ScriptEditorOutput_CID' not in globals():
_MayaSublime_ScriptEditorOutput_CID = None
_MayaSublime_ScriptEditorOutput_CID = None

if '_MayaSublime_SOCK' not in globals():
_MayaSublime_SOCK = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
_MayaSublime_SOCK = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

def _MayaSublime_streamScriptEditor(enable, host="127.0.0.1", port=5123, quiet=False):
om = maya.OpenMaya
Expand Down

0 comments on commit 2a76b46

Please sign in to comment.