Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

tweetstache: fix path to photo to not be relative

  • Loading branch information...
commit 31b8b70aae4c14f3ceb1f08e838c1275d41e2d07 1 parent bb5b170
Jason Kridner authored September 12, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tweetstache.js
2  tweetstache.js
@@ -37,7 +37,7 @@ function sendTweet(tweet, photoName) {
37 37
     //var pport = 80;
38 38
     //var proxy = 'http://' + phostname;
39 39
 
40  
-    var data = fs.readFileSync('./' + photoName);
  40
+    var data = fs.readFileSync(photoName);
41 41
 
42 42
     var oauth = new OAuth(
43 43
         'https://api.twitter.com/oauth/request_token',

0 notes on commit 31b8b70

Please sign in to comment.
Something went wrong with that request. Please try again.