From b80888bcd79ea74447f626bc0c00f4c34dba97d2 Mon Sep 17 00:00:00 2001 From: Von Random Date: Wed, 23 Oct 2024 14:40:55 +0300 Subject: [PATCH] get rid of import and functions on declaring variables in defaults module --- pgbotlib/defaults.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pgbotlib/defaults.py b/pgbotlib/defaults.py index de87176..3bd5031 100644 --- a/pgbotlib/defaults.py +++ b/pgbotlib/defaults.py @@ -1,6 +1,4 @@ -import os - CONFDIR = '/etc/pgbot' -CONFIG = os.path.join(CONFDIR, 'pgbot.yml') -TOKENS = os.path.join(CONFDIR, 'tokens.yml') -SCHEDULE = os.path.join(CONFDIR, '/sched.yml') +CONFIG = CONFDIR + 'pgbot.yml' +TOKENS = CONFDIR + 'tokens.yml' +SCHEDULE = CONFDIR + '/sched.yml'