mirror of
https://github.com/SinTan1729/TvTimeToTrakt.git
synced 2025-04-19 17:40:01 -05:00
Just use one database
This commit is contained in:
parent
d452f28fee
commit
134eb720e8
1 changed files with 5 additions and 6 deletions
|
@ -27,12 +27,11 @@ logging.basicConfig(
|
||||||
DELAY_BETWEEN_EPISODES_IN_SECONDS = 1
|
DELAY_BETWEEN_EPISODES_IN_SECONDS = 1
|
||||||
|
|
||||||
# Create databases to keep track of completed processes
|
# Create databases to keep track of completed processes
|
||||||
databaseshows = TinyDB("localStorageShows.json")
|
database = TinyDB("localStorage.json")
|
||||||
syncedEpisodesTable = databaseshows.table("SyncedEpisodes")
|
syncedEpisodesTable = database.table("SyncedEpisodes")
|
||||||
userMatchedShowsTable = databaseshows.table("TvTimeTraktUserMatched")
|
userMatchedShowsTable = database.table("TvTimeTraktUserMatched")
|
||||||
databasemovies = TinyDB("localStorageMovies.json")
|
syncedMoviesTable = database.table("SyncedMovies")
|
||||||
syncedMoviesTable = databasemovies.table("SyncedMovies")
|
userMatchedMoviesTable = database.table("TvTimeTraktUserMatchedMovies")
|
||||||
userMatchedMoviesTable = databasemovies.table("TvTimeTraktUserMatched")
|
|
||||||
|
|
||||||
|
|
||||||
class Expando(object):
|
class Expando(object):
|
||||||
|
|
Loading…
Reference in a new issue