Re: Openbox Theme Editor
I got around to looking at this again. I manually set self.preview_themerc_dir. First I set it to a directory that had subdirectories. It ran fine. Then I set it to a directory that had no subdirectory and it threw the same error. The problem seems to be that the directory is empty.
I don't have any familiarity with python at all, but what does os.listdir() return when it finds no subdirectories? I tried to look it up, but I didn't see that condition listed anywhere. If I knew I think that it would be easy for me to simply add a check for it, so it didn't error out the program, even though I don't know python (I really need to learn. it's kind of popular).