You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just learn how to post new from md file and set up the post date, but I got errors:
env:
python3.7,pip 20.0.2
$ easyblogger post -t 'Hello World3' -l 'test1' -c 'Hello Test' --date "2018-04-30T12:42:00+05:30"
Traceback (most recent call last):
File "/usr/local/bin/easyblogger", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/blogger/main.py", line 291, in main
return runner(args)
File "/usr/local/lib/python3.7/site-packages/blogger/main.py", line 378, in runner
return processItem(args)
File "/usr/local/lib/python3.7/site-packages/blogger/main.py", line 306, in processItem
publishDate=args.publishDate)
File "/usr/local/lib/python3.7/site-packages/blogger/blogger.py", line 246, in post
blogPost["published"] = publishDate.isoformat()
AttributeError: 'str' object has no attribute 'isoformat'
The text was updated successfully, but these errors were encountered:
I just learn how to post new from md file and set up the post date, but I got errors:
env:
python3.7,pip 20.0.2
$ easyblogger post -t 'Hello World3' -l 'test1' -c 'Hello Test' --date "2018-04-30T12:42:00+05:30"
Traceback (most recent call last):
File "/usr/local/bin/easyblogger", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/blogger/main.py", line 291, in main
return runner(args)
File "/usr/local/lib/python3.7/site-packages/blogger/main.py", line 378, in runner
return processItem(args)
File "/usr/local/lib/python3.7/site-packages/blogger/main.py", line 306, in processItem
publishDate=args.publishDate)
File "/usr/local/lib/python3.7/site-packages/blogger/blogger.py", line 246, in post
blogPost["published"] = publishDate.isoformat()
AttributeError: 'str' object has no attribute 'isoformat'
The text was updated successfully, but these errors were encountered: