Skip to content

Commit

Permalink
Merge branch 'develop' into reduce-release-parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
p0psicles authored Jun 19, 2016
2 parents d78a963 + 881d122 commit 46e6920
Show file tree
Hide file tree
Showing 15 changed files with 210 additions and 143 deletions.
32 changes: 3 additions & 29 deletions .pullapprove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,14 @@ reject_regex: (^Rejected|^Fix it)
reset_on_push: false
reviewers:
-
name: backend-devs
name: devs
required: 1
members:
- duramato
- fernandog
- labrys
- medariox
- ratoaq2
- p0psicles
- adaur
# # CONDITIONS REQUIRE PRO ACCOUNT
# conditions:
# branches:
# - master
# - beta
# - develop
# files:
# - "*.py"
-
name: gui-devs
required: 1
members:
- Labrys
- OmgImAlexis
- p0psicles
# # CONDITIONS REQUIRE PRO ACCOUNT
# conditions:
# branches:
# - master
# - beta
# - develop
# files:
# - "gui/"
-
name: support
required: 0
members:
- neoatomic
- adaur
Binary file added gui/slick/images/providers/xspeeds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/slick/images/providers/xspeeds_eu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/subliminal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
__title__ = 'subliminal'
__version__ = '2.0.rc1'
__version__ = '2.0.3'
__short_version__ = '.'.join(__version__.split('.')[:2])
__author__ = 'Antoine Bertin'
__license__ = 'MIT'
Expand Down
6 changes: 4 additions & 2 deletions lib/subliminal/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from __future__ import division
from collections import defaultdict
from datetime import timedelta
import glob
import json
import logging
import os
Expand All @@ -15,7 +16,7 @@
from babelfish import Error as BabelfishError, Language
import click
from dogpile.cache.backends.file import AbstractFileLock
from dogpile.core import ReadWriteMutex
from dogpile.util.readwrite_lock import ReadWriteMutex
from six.moves import configparser

from subliminal import (AsyncProviderPool, Episode, Movie, Video, __version__, check_video, compute_score, get_scores,
Expand Down Expand Up @@ -266,7 +267,8 @@ def subliminal(ctx, addic7ed, itasa, legendastv, opensubtitles, subscenter, cach
def cache(ctx, clear_subliminal):
"""Cache management."""
if clear_subliminal:
os.remove(os.path.join(ctx.parent.params['cache_dir'], cache_file))
for file in glob.glob(os.path.join(ctx.parent.params['cache_dir'], cache_file) + '*'):
os.remove(file)
click.echo('Subliminal\'s cache cleared.')
else:
click.echo('Nothing done.')
Expand Down
Loading

0 comments on commit 46e6920

Please sign in to comment.