Skip to content

Commit

Permalink
Merge branch 'release-11.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
labrys committed Dec 29, 2018
2 parents c5dad74 + 7244f87 commit 4fed4d8
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 11.8.0
current_version = 11.8.1
commit = True
tag = False

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nzbToMedia v11.8.0
nzbToMedia v11.8.1
==================

Provides an [efficient](https://github.com/clinton-hall/nzbToMedia/wiki/Efficient-on-demand-post-processing) way to handle postprocessing for [CouchPotatoServer](https://couchpota.to/ "CouchPotatoServer") and [SickBeard](http://sickbeard.com/ "SickBeard") (and its [forks](https://github.com/clinton-hall/nzbToMedia/wiki/Failed-Download-Handling-%28FDH%29#sick-beard-and-its-forks))
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Change_LOG / History

V11.8.1 12/29/2018

Fix cleanup for nzbToMedia installed as a git submodule

V11.8.0 12/28/2018

Add version information
Expand Down
8 changes: 7 additions & 1 deletion cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,29 @@ def clean(*paths):
with WorkingDirectory(module_path()) as cwd:
if cwd.working_directory != cwd.original_directory:
print('Changing to directory:', cwd.working_directory)

print('\n-- Cleaning bytecode --')
try:
result = clean_bytecode()
except SystemExit as error:
print(error)
else:
print(result or 'No bytecode to clean')
if paths:

if paths and os.path.exists('.git'):
print('\n-- Cleaning folders: {} --'.format(paths))
try:
result = clean_folders(*paths)
except SystemExit as error:
print(error)
else:
print(result or 'No folders to clean\n')
else:
print('Directory is not a git repository')

if cwd.working_directory != cwd.original_directory:
print('Returning to directory: ', cwd.original_directory)

print('\n-- Cleanup finished --\n')


Expand Down
2 changes: 1 addition & 1 deletion core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from core.transcoder import transcoder
from core.databases import mainDB

__version__ = '11.8.0'
__version__ = '11.8.1'

# Client Agents
NZB_CLIENTS = ['sabnzbd', 'nzbget', 'manual']
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def read(*names, **kwargs):

setup(
name='nzbToMedia',
version='11.8.0',
version='11.8.1',
license='GPLv3',
description='Efficient on demand post processing',
long_description="""
Expand Down

0 comments on commit 4fed4d8

Please sign in to comment.