Skip to content

Commit

Permalink
set version to 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mknx committed Jan 31, 2013
1 parent 5174407 commit d758892
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/smarthome.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
import lib.orb
import lib.log

VERSION = '0.8-Beta'
VERSION = '0.8'
try:
os.chdir(BASE)
VERSION = subprocess.check_output(['git', 'describe', '--always', '--dirty=+'], stderr=subprocess.STDOUT).strip('\n')
Expand Down
2 changes: 1 addition & 1 deletion examples/visu/js/smarthome.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// along with SmartHome.py. If not, see <http://www.gnu.org/licenses/>.
//########################################################################

var shVersion = '0.8-Dev';
var shVersion = '0.8';
var shProto = 1;
var shWS = false; // WebSocket
var shLock = false;
Expand Down
2 changes: 1 addition & 1 deletion examples/visu/js/smarthome.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions plugins/visu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@

class WebSocket(asyncore.dispatcher):

def __init__(self, smarthome, generator_dir=False, ip='0.0.0.0', port=2424, smartvisu_dir=False):
def __init__(self, smarthome, visu_dir=False, generator_dir=False, ip='0.0.0.0', port=2424, smartvisu_dir=False):
asyncore.dispatcher.__init__(self, map=smarthome.socket_map)
self._sh = smarthome
smarthome.add_listener(self.send_data)
self.clients = []
self.visu_items = {}
self.visu_logics = {}
self.generator_dir = generator_dir
self.generator_dir = visu_dir
if generator_dir: # transition feature
self.generator_dir = generator_dir
self.smartvisu_dir = smartvisu_dir
try:
self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
Expand Down

0 comments on commit d758892

Please sign in to comment.