diff --git a/img/temp/augur.png b/img/temp/augur.png index 032ff02..e8a3daa 100644 Binary files a/img/temp/augur.png and b/img/temp/augur.png differ diff --git a/img/temp/bitcoin.png b/img/temp/bitcoin.png index 1ec9591..8a36f70 100644 Binary files a/img/temp/bitcoin.png and b/img/temp/bitcoin.png differ diff --git a/img/temp/dash.png b/img/temp/dash.png index 24fe07b..f5908c1 100644 Binary files a/img/temp/dash.png and b/img/temp/dash.png differ diff --git a/img/temp/ethereum-classic.png b/img/temp/ethereum-classic.png index b0fa535..01e1faa 100644 Binary files a/img/temp/ethereum-classic.png and b/img/temp/ethereum-classic.png differ diff --git a/img/temp/ethereum.png b/img/temp/ethereum.png index a57c641..da364e0 100644 Binary files a/img/temp/ethereum.png and b/img/temp/ethereum.png differ diff --git a/img/temp/golem-network-tokens.png b/img/temp/golem-network-tokens.png index f334724..212a27a 100644 Binary files a/img/temp/golem-network-tokens.png and b/img/temp/golem-network-tokens.png differ diff --git a/img/temp/litecoin.png b/img/temp/litecoin.png index 2b1b990..4f24b74 100644 Binary files a/img/temp/litecoin.png and b/img/temp/litecoin.png differ diff --git a/img/temp/monero.png b/img/temp/monero.png index b681ab7..c768edf 100644 Binary files a/img/temp/monero.png and b/img/temp/monero.png differ diff --git a/img/temp/nem.png b/img/temp/nem.png index 6cfea6a..ce49d4f 100644 Binary files a/img/temp/nem.png and b/img/temp/nem.png differ diff --git a/img/temp/ripple.png b/img/temp/ripple.png index d6c1c3d..276c641 100644 Binary files a/img/temp/ripple.png and b/img/temp/ripple.png differ diff --git a/img/temp/ticker.png b/img/temp/ticker.png index 764c90d..09586e9 100644 Binary files a/img/temp/ticker.png and b/img/temp/ticker.png differ diff --git a/main.py b/main.py index d3dc0f4..d2104fd 100644 --- a/main.py +++ b/main.py @@ -12,5 +12,6 @@ print(reddit.user.me()) sub = reddit.subreddit('cryptocurrency') # print(sub.title) ss = sub.stylesheet() +sstext = ss.stylesheet sub.stylesheet.upload("ticker", "img/temp/ticker.png") -sub.stylesheet.update(stylesheettext) +sub.stylesheet.update(sstext) diff --git a/test.py b/test.py new file mode 100644 index 0000000..959b21b --- /dev/null +++ b/test.py @@ -0,0 +1,17 @@ +import imggen +import praw +from userpw import * + +tickerimg = imggen.imggen() + +reddit = praw.Reddit(client_id=client_id, client_secret=client_secret, + username=username, password=password, + user_agent=user_agent) + +print(reddit.user.me()) +sub = reddit.subreddit('cryptocurrency') +# print(sub.title) +ss = sub.stylesheet() +print(ss.stylesheet) +# sub.stylesheet.upload("ticker", "img/temp/ticker.png") +# sub.stylesheet.update(stylesheettext)