--- src/pyrpkg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pyrpkg/__init__.py b/src/pyrpkg/__init__.py index 6961d5e..8403763 100644 --- a/src/pyrpkg/__init__.py +++ b/src/pyrpkg/__init__.py @@ -199,7 +199,7 @@ class Commands(object): 'topurl': None } # Process the configs in order, global, user, then any option passed - for configfile in (self.kojiconfig, + for configfile in (os.path.expanduser(self.kojiconfig), os.path.expanduser('~/.koji/config')): try: f = open(configfile)