diff --git a/bambu_buffer/__init__.py b/bambu_buffer/__init__.py index a48e506..5b343a0 100644 --- a/bambu_buffer/__init__.py +++ b/bambu_buffer/__init__.py @@ -8,7 +8,7 @@ from datetime import datetime, date from threading import Thread import requests -__version__ = '2.1' +__version__ = '2.1.1' class BufferThread(Thread): def __init__(self, token, data, *args, **kwargs): diff --git a/bambu_buffer/receivers.py b/bambu_buffer/receivers.py index 3212af8..1abbc81 100644 --- a/bambu_buffer/receivers.py +++ b/bambu_buffer/receivers.py @@ -12,7 +12,7 @@ def post_save_receiver(sender, instance, **kwargs): name = m.pop(0) app, model = name.lower().split('.') - if app != instance._meta.app_label and model != instance._meta.module_name: + if app != instance._meta.app_label or model != instance._meta.module_name: continue if any(m): diff --git a/setup.py b/setup.py index c962332..f75141f 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from os import path setup( name = 'bambu-buffer', - version = '2.1', + version = '2.1.1', description = 'Post to Buffer and manage profile settings through a Django-powered site', author = 'Steadman', author_email = 'mark@steadman.io', @@ -12,9 +12,7 @@ setup( long_description = open(path.join(path.dirname(__file__), 'README')).read(), packages = [ 'bambu_buffer', - 'bambu_buffer.migrations', - 'bambu_buffer.management', - 'bambu_buffer.management.commands' + 'bambu_buffer.migrations' ], package_data = { 'bambu_buffer': [