mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-02-21 07:42:08 +00:00
Removed forgotten debug code
This commit is contained in:
parent
96a794e273
commit
14d698f057
7
twoot.py
7
twoot.py
|
@ -363,8 +363,6 @@ def main(argv):
|
||||||
print('Malformed config file')
|
print('Malformed config file')
|
||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
print(toml)
|
|
||||||
|
|
||||||
# Override config file parameter values with command-line values if provided
|
# Override config file parameter values with command-line values if provided
|
||||||
if args['t'] is not None:
|
if args['t'] is not None:
|
||||||
toml['config']['twitter_account'] = args['t']
|
toml['config']['twitter_account'] = args['t']
|
||||||
|
@ -428,11 +426,6 @@ def main(argv):
|
||||||
logging.info(' -d ' + str(toml['options']['tweet_delay']))
|
logging.info(' -d ' + str(toml['options']['tweet_delay']))
|
||||||
logging.info(' -c ' + str(toml['options']['toot_cap']))
|
logging.info(' -c ' + str(toml['options']['toot_cap']))
|
||||||
|
|
||||||
print(toml)
|
|
||||||
|
|
||||||
# DEBUG CONFIG
|
|
||||||
# exit(1)
|
|
||||||
|
|
||||||
# Try to open database. If it does not exist, create it
|
# Try to open database. If it does not exist, create it
|
||||||
sql = sqlite3.connect('twoot.db')
|
sql = sqlite3.connect('twoot.db')
|
||||||
db = sql.cursor()
|
db = sql.cursor()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user