fix: Missing import and typo
diff --git a/erpnext/utilities/doctype/video/video.py b/erpnext/utilities/doctype/video/video.py
index d8653f6..3b6bd7e 100644
--- a/erpnext/utilities/doctype/video/video.py
+++ b/erpnext/utilities/doctype/video/video.py
@@ -8,6 +8,7 @@
import pytz
from frappe.model.document import Document
from frappe import _
+from datetime import datetime
from six import string_types
from pyyoutube import Api
@@ -71,7 +72,7 @@
return
if frequency == 30:
- batch_update_data()
+ batch_update_youtube_data()
def update_youtube_data():