N2T icon indicating copy to clipboard operation
N2T copied to clipboard

카테고리 미설정시 에러 발생

Open mmingyu opened this issue 2 years ago • 0 comments

[진행중] 1번째 페이지 다운로드 완료...
        [진행중] parsing 완료... Traceback (most recent call last):
  File "/Users/mingyu/Dev/N2T/main.py", line 166, in <module>
    client.posts()
  File "/Users/mingyu/Dev/N2T/main.py", line 79, in posts
    self.parse_and_post(page, page_path)
  File "/Users/mingyu/Dev/N2T/main.py", line 144, in parse_and_post
    category_id = self.t_client.get_category_id_from_name(category_str)
  File "/Users/mingyu/Dev/N2T/clients/TistoryClient.py", line 94, in get_category_id_from_name
    if label.strip() == target_name.replace('\b', '').strip():
AttributeError: 'NoneType' object has no attribute 'replace'

[완료] 프로그램 종료.

카테고리 미설정시 위와 같은 에러가 발생함

mmingyu avatar Nov 06 '22 06:11 mmingyu