Permalink
Browse files

tweetstache: fix path to photo to not be relative

  • Loading branch information...
jadonk committed Sep 12, 2012
1 parent bb5b170 commit 31b8b70aae4c14f3ceb1f08e838c1275d41e2d07
Showing with 1 addition and 1 deletion.
  1. +1 −1 tweetstache.js
View
@@ -37,7 +37,7 @@ function sendTweet(tweet, photoName) {
//var pport = 80;
//var proxy = 'http://' + phostname;
- var data = fs.readFileSync('./' + photoName);
+ var data = fs.readFileSync(photoName);
var oauth = new OAuth(
'https://api.twitter.com/oauth/request_token',

0 comments on commit 31b8b70

Please sign in to comment.