Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Jun 2, 2015
1 parent 44abf48 commit 9be1f02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions transitland/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
kw['debug'] = args.debug
kw['url'] = args.url
if args.feedname:
# set the feedid with geohash
kw['feedid'] = 'f-0-%s'%(args.feedname.lower().strip())
kw['feedname'] = args.feedname
feed = entities.Feed.from_gtfs(f, **kw)

# Print basic feed information.
Expand Down
4 changes: 2 additions & 2 deletions transitland/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def from_gtfs(cls, gtfs_feed, feed=None, feedname='unknown', populate=True, debu
# Create feed
if feed:
pass
else:
else:
kw['onestopId'] = 'f-%s-%s'%(
geom.geohash_features(gtfs_feed.stops()),
feedname
cls().mangle(feedname)
)
feed = cls(**kw)
feedid = feed.onestop()
Expand Down

0 comments on commit 9be1f02

Please sign in to comment.