From 6ebebe5045113db32ecc541964f2e38e39878294 Mon Sep 17 00:00:00 2001 From: io mintz Date: Wed, 13 May 2020 00:12:56 +0000 Subject: [PATCH] move data to data/ --- .gitignore | 3 ++- bot.py | 2 +- config.example.py => data/config.example.py | 2 +- short-license.txt => data/short-license.txt | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) rename config.example.py => data/config.example.py (97%) rename short-license.txt => data/short-license.txt (94%) diff --git a/.gitignore b/.gitignore index 0c0656b..4c778cd 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,8 @@ __pycache__/ .venv/ venv/ -config.py +/config.py +/data/config.py *.png *.gif diff --git a/bot.py b/bot.py index 3e8b319..e5f571e 100755 --- a/bot.py +++ b/bot.py @@ -38,7 +38,7 @@ class Bot(Bot): ) def __init__(self, **kwargs): - with open('config.py') as f: + with open('data/config.py') as f: config = eval(f.read(), {}) super().__init__(config=config, **kwargs) diff --git a/config.example.py b/data/config.example.py similarity index 97% rename from config.example.py rename to data/config.example.py index 9391115..3d41a97 100644 --- a/config.example.py +++ b/data/config.example.py @@ -28,7 +28,7 @@ }, }, - 'copyright_license_file': 'short-license.txt', + 'copyright_license_file': 'data/short-license.txt', 'socks5_proxy_url': None, # required for connecting to the EC API over a Tor onion service 'use_socks5_for_all_connections': False, # whether to use socks5 for all HTTP operations (other than discord.py) diff --git a/short-license.txt b/data/short-license.txt similarity index 94% rename from short-license.txt rename to data/short-license.txt index 61aae68..44436dd 100644 --- a/short-license.txt +++ b/data/short-license.txt @@ -1,4 +1,4 @@ -Copyright © 2018–2020 lambda#0987 +© 2018–2020 lambda#0987 Emote Manager is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as