~martijnbraam/numberstation

9c36828145ea91ef80e9d023efb43c7ab16e9201 — Kazutoshi Noguchi 2 years ago bcefb17
Fixed a bug that loads resources from cwd, not cwd/numberstation, when cwd/numberstation/numberstation.gresource exists
1 files changed, 1 insertions(+), 1 deletions(-)

M numberstation/__main__.py
M numberstation/__main__.py => numberstation/__main__.py +1 -1
@@ 31,7 31,7 @@ def main(version):

    if os.path.isfile('numberstation/numberstation.gresource'):
        print("Using resources from cwd/numberstation")
        resource = Gio.resource_load("numberstation.gresource")
        resource = Gio.resource_load("numberstation/numberstation.gresource")
        Gio.Resource._register(resource)
    elif os.path.isfile('numberstation.gresource'):
        print("Using resources from cwd")