mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
delete model check fixes + sync log
This commit is contained in:
@@ -27,7 +27,7 @@ class Dropbox(Provider):
|
||||
try:
|
||||
recipes = r.json()
|
||||
except ValueError:
|
||||
log_entry = SyncLog(status='ERROR', msg=str(r), sync=monitor, space=monitor.space)
|
||||
log_entry = SyncLog(status='ERROR', msg=str(r), sync=monitor)
|
||||
log_entry.save()
|
||||
return r
|
||||
|
||||
@@ -51,7 +51,6 @@ class Dropbox(Provider):
|
||||
status='SUCCESS',
|
||||
msg='Imported ' + str(import_count) + ' recipes',
|
||||
sync=monitor,
|
||||
space=monitor.space,
|
||||
)
|
||||
log_entry.save()
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ class Local(Provider):
|
||||
status='SUCCESS',
|
||||
msg='Imported ' + str(import_count) + ' recipes',
|
||||
sync=monitor,
|
||||
space=monitor.space,
|
||||
)
|
||||
log_entry.save()
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@ class Nextcloud(Provider):
|
||||
status='SUCCESS',
|
||||
msg='Imported ' + str(import_count) + ' recipes',
|
||||
sync=monitor,
|
||||
space=monitor.space
|
||||
)
|
||||
log_entry.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user