summary refs log tree commit diff stats
path: root/advice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'advice.cpp')
-rw-r--r--advice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/advice.cpp b/advice.cpp index c78c705..3428512 100644 --- a/advice.cpp +++ b/advice.cpp
@@ -312,6 +312,8 @@ void advice::run() const
312 312
313 long media_id = client_->uploadMedia("image/png", (const char*) outputimg.data(), outputimg.length()); 313 long media_id = client_->uploadMedia("image/png", (const char*) outputimg.data(), outputimg.length());
314 client_->updateStatus(tweetText, {media_id}); 314 client_->updateStatus(tweetText, {media_id});
315
316 std::cout << "Tweeted!" << std::endl << "Waiting..." << std::endl;
315 317
316 std::this_thread::sleep_for(std::chrono::hours(1)); 318 std::this_thread::sleep_for(std::chrono::hours(1));
317 } catch (const could_not_get_images& ex) 319 } catch (const could_not_get_images& ex)