mirror of
https://github.com/kennethreitz-archive/django-mediasync.git
synced 2026-06-05 23:40:18 +00:00
12 lines
335 B
Python
12 lines
335 B
Python
from mediasync.backends import BaseClient
|
|
|
|
class Client(BaseClient):
|
|
|
|
remote_media_url_callback = lambda x: "dummy://"
|
|
put_callback = lambda x: None
|
|
|
|
def remote_media_url(self, with_ssl=False):
|
|
return self.remote_media_url_callback()
|
|
|
|
def put(self, *args, **kwargs):
|
|
self.put_callback(*args) |