This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#OpenDCT Configuration File | |
#Sun Dec 15 17:18:40 PST 2019 | |
sagetv.device.-2044032762.encoder_listen_port=9000 | |
consumer.ffmpeg.upload_id_port=7818 | |
sagetv.device.parent.-392330670.offline_scan=false | |
sagetv.device.-2044032758.consumer=opendct.consumer.DynamicConsumerImpl | |
sagetv.device.-2044032763.last_channel=-1 | |
sagetv.device.-2044032763.consumer=opendct.consumer.DynamicConsumerImpl | |
consumer.dynamic.channels.media_server= | |
sagetv.device.-2044032760.encoder_pool=dct |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Name: ban_user.py | |
Purpose: ban user from subreddits | |
Usage: ban_user.py <reddit_username> <ban_reason> [post_scam_alert] | |
''' | |
import praw | |
from time import sleep | |
import sys | |
import os |