File "C:\Users\mohbc\Taskaty\taskaty\app.py", line 37, in <module>
main()
File "C:\Users\mohbc\Taskaty\taskaty\app.py", line 34, in main
args.func(args)
File "C:\Users\mohbc\Taskaty\taskaty\taskController.py", line 64, in display
all_tasks = self.list_all_tasks()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohbc\Taskaty\taskaty\taskController.py", line 39, in list_all_tasks
title, description, start_date, end_date, done = line.split(', ')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 5, got 4)
السؤال
Mohamed Farahat
File "C:\Users\mohbc\Taskaty\taskaty\app.py", line 37, in <module>
main()
File "C:\Users\mohbc\Taskaty\taskaty\app.py", line 34, in main
args.func(args)
File "C:\Users\mohbc\Taskaty\taskaty\taskController.py", line 64, in display
all_tasks = self.list_all_tasks()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohbc\Taskaty\taskaty\taskController.py", line 39, in list_all_tasks
title, description, start_date, end_date, done = line.split(', ')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 5, got 4)
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.