Move config sample to a separate file
This commit is contained in:
parent
40d888af24
commit
b486192b23
|
@ -4,3 +4,4 @@ build/*
|
|||
*.egg*
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
config.ini
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
[ircbot]
|
||||
nick=NICKNAME
|
||||
pass=PASSWORD
|
||||
server=irc.freenode.net
|
||||
port=6667
|
||||
channels=foo,bar
|
||||
db=/tmp/db.json
|
|
@ -14,17 +14,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# The configuration file should look like:
|
||||
"""
|
||||
[ircbot]
|
||||
nick=NICKNAME
|
||||
pass=PASSWORD
|
||||
server=irc.freenode.net
|
||||
port=6667
|
||||
channels=foo,bar
|
||||
db=/tmp/db.json
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import configparser
|
||||
import daemon
|
||||
|
|
Loading…
Reference in New Issue