Skip to content

Commit 3e48eb7

Browse files
committed
Merge branch 'serial_ports'
2 parents 7258f6f + 1de2cfe commit 3e48eb7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7936
-714
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ before_install:
4242
- pip3 install coveralls
4343
#- pip3 install pydocstyle
4444
- pip3 install mkdocs
45-
- pip3 install pyinstaller
45+
# We need a newer unreleased version of PyInstaller for Python 3.5
46+
- pip3 install https://github.com/pyinstaller/pyinstaller/archive/964547cd92cabe28150d52c2ca809de74a5ddbaa.zip
4647

4748
# Check Python, pip and package versions
4849
- python -c "import sys; print(sys.executable)"

ardublockly/ardublockly.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ Ardublockly.init = function() {
2727
Ardublockly.bindBlocklyEventListeners();
2828

2929
// Hackish way to check if not running locally
30-
if (document.location.hostname != '127.0.0.1') {
30+
if (document.location.hostname != 'localhost') {
3131
Ardublockly.openNotConnectedModal();
32+
console.log('Offline app modal opened as non localhost host name found: ' +
33+
document.location.hostname)
3234
}
3335
};
3436

0 commit comments

Comments
 (0)