diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..7b6c1dc --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +neca.py \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..dc9ea49 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..29036a5 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/twitter-project.iml b/.idea/twitter-project.iml new file mode 100644 index 0000000..8b8c395 --- /dev/null +++ b/.idea/twitter-project.iml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/__pycache__/dashboard.cpython-310.pyc b/__pycache__/dashboard.cpython-310.pyc index 7a0a862..d3ac58c 100644 Binary files a/__pycache__/dashboard.cpython-310.pyc and b/__pycache__/dashboard.cpython-310.pyc differ diff --git a/dashboard.py b/dashboard.py index fa975ac..6fb5a52 100644 --- a/dashboard.py +++ b/dashboard.py @@ -46,7 +46,7 @@ def generate_tweet(ctx, e): # emit to outside world emit('tweet', tweet) for w in words(tweet['text']): - emit('balk', { + emit('pie', { 'action': 'add', 'value': (str(w), 1) }) diff --git a/dashboard_static/index.html b/dashboard_static/index.html index 54a6f1b..3569603 100644 --- a/dashboard_static/index.html +++ b/dashboard_static/index.html @@ -111,7 +111,7 @@
Sports Popularity Filter -
+
@@ -126,12 +126,13 @@ +