citiesskylines-csur/CSUR

Code incomprehensible

HuangFuSL opened this issue · 0 comments

I forked and cloned this repo, and trying to run the code myself. After an unsuccessful attempt, I turned to investigate the code but got stuck at __create_lanes() method. Moreover, it seems that the code has critical bugs preventing it from being executed normally. It's not such runtime errors but thousands of so-called COMPILATION ERRORS such as:

  if filepath:
      suffix = '_' + thumbmode + '.png' if thumbmode else '_thumb.png'
      canvas.save(filepath + suffix)
  else:
      canvas.save(os.path.join(ROOT, "thumbnails/%s" % asset + suffix))