Skip to content

Commit

Permalink
Update web_gui imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenadia committed Apr 3, 2018
1 parent e7fc8c7 commit 7a1271f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openhtf/output/web_gui/src/app/station.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare var jsonpatch; // Global provided by the fast-json-patch package.

import {Injectable} from 'angular2/core';
import {Headers, Http, RequestOptions} from 'angular2/http';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs';
import 'rxjs/add/observable/throw';
import 'rxjs/add/operator/catch';

Expand Down
4 changes: 2 additions & 2 deletions openhtf/output/web_gui/src/other_modules/get_other_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import argparse
import os
import urllib.request, urllib.parse, urllib.error
from six.moves.urllib import request

TARGETS = [
'http://cdn.jsdelivr.net/sockjs/1/sockjs.min.js', # sockjs
Expand All @@ -38,7 +38,7 @@ def main():
filename = src.split('/')[-1].split('#')[0].split('?')[0]
dst = os.path.join(os.path.dirname(os.path.abspath(__file__)), filename)
if args.force or not os.path.exists(dst):
urllib.request.urlretrieve(src, dst)
request.urlretrieve(src, dst)


if __name__ == '__main__':
Expand Down

0 comments on commit 7a1271f

Please sign in to comment.