Skip to content

Commit

Permalink
renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
NodyHub committed Jul 2, 2017
1 parent 63c5316 commit c11926d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flathunter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from flathunter.crawl_immobilienscout import CrawlImmobilienscout
from flathunter.crawl_wggesucht import CrawlWgGesucht
from flathunter.idmaintainer import IdMaintainer
from flathunter.core import Core
from flathunter.hunter import Hunter

__author__ = "Jan Harrie"
__version__ = "1.0"
Expand Down Expand Up @@ -39,7 +39,7 @@ def launch_flat_hunt(config):
searchers = [CrawlImmobilienscout(), CrawlWgGesucht()]
id_watch = IdMaintainer('%s/processed_ids.db' % os.path.dirname(os.path.abspath(__file__)))

hunter = Core()
hunter = Hunter()
hunter.hunt_flats(config, searchers, id_watch)

while config.get('loop', dict()).get('active', False):
Expand Down
2 changes: 1 addition & 1 deletion flathunter/core.py → flathunter/hunter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import time
from flathunter.sender_telegram import SenderTelegram

class Core:
class Hunter:
__log__ = logging.getLogger(__name__)
GM_MODE_TRANSIT = 'transit'
GM_MODE_BICYCLE = 'bicycling'
Expand Down

0 comments on commit c11926d

Please sign in to comment.