jsutterfield / pyclasstwitter

3 stars 5 forks source link

If there are zero tweets found it doesn't create any html files.. #7

Closed bdbaddog closed 11 years ago

bdbaddog commented 11 years ago

See subject.

bdbaddog commented 11 years ago

Didn't fix the issue as I had locally modified WEB_DIR, and so the WEB_DIR+.. didn't work. Changed as below

-        with open(TEMPLATE_DIR + "/index.html", 'rb') as in_file:
-            with open (WEB_DIR + 'index.html', 'wb') as out_file:
+        with open(os.path.join(TEMPLATE_DIR,"index.html"), 'rb') as in_file:
+            with open (os.path.join(WEB_DIR, 'index.html'), 'wb') as out_file:
bdbaddog commented 11 years ago

Can't push to this repo, can you pull this changed into your repo, it's on the server. :D

jsutterfield commented 11 years ago

@bdbaddog Pulled in and added you as a contributor. Also, it looks like the plone logo isn't showing up. Any idea why?