Skip to content

Commit

Permalink
Merge pull request #78 from RileyXX/fix-for-chromedriver-improper-shu…
Browse files Browse the repository at this point in the history
…tdown

Fix for improper chromedriver shutdown
  • Loading branch information
RileyXX committed Nov 23, 2023
2 parents 143df4f + d2fd240 commit de63168
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions IMDBTraktSyncer/IMDBTraktSyncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ def filter_by_comment_length(lst, min_comment_length=None):

#Close web driver
print("Closing webdriver...")
driver.close()
driver.quit()
service.stop()

Expand All @@ -709,6 +710,7 @@ def filter_by_comment_length(lst, min_comment_length=None):

# Close the driver and stop the service if they were initialized
if 'driver' in locals() and driver is not None:
driver.close()
driver.quit()
if 'service' in locals() and service is not None:
service.stop()
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
with codecs.open(os.path.join(here, "README.md"), 'r', encoding="utf-8") as fh:
long_description = "\n" + fh.read()

VERSION = '1.8.4'
DESCRIPTION = 'A python script that syncs user watchlist, ratings and comments for Movies, TV Shows and Episodes both ways between Trakt and IMDB.'
VERSION = '1.8.5'
DESCRIPTION = 'A python script that syncs user watchlist, ratings and reviews for Movies, TV Shows and Episodes both ways between Trakt and IMDB.'

# Setting up
setup(
Expand Down

0 comments on commit de63168

Please sign in to comment.