mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
fix: Missing import and typo
This commit is contained in:
@@ -8,6 +8,7 @@ import re
|
|||||||
import pytz
|
import pytz
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe import _
|
from frappe import _
|
||||||
|
from datetime import datetime
|
||||||
from six import string_types
|
from six import string_types
|
||||||
from pyyoutube import Api
|
from pyyoutube import Api
|
||||||
|
|
||||||
@@ -71,7 +72,7 @@ def update_youtube_data_half_hourly():
|
|||||||
return
|
return
|
||||||
|
|
||||||
if frequency == 30:
|
if frequency == 30:
|
||||||
batch_update_data()
|
batch_update_youtube_data()
|
||||||
|
|
||||||
|
|
||||||
def update_youtube_data():
|
def update_youtube_data():
|
||||||
|
|||||||
Reference in New Issue
Block a user