~martijnbraam/public-inbox

numberstation: Fixed a bug that loads resources from cwd, not cwd/numberstation, when cwd/numberstation/numberstation.gresource exists v1 APPLIED

Kazutoshi Noguchi: 1
 Fixed a bug that loads resources from cwd, not cwd/numberstation, when cwd/numberstation/numberstation.gresource exists

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/28954/mbox | git am -3
Learn more about email & git

[PATCH numberstation] Fixed a bug that loads resources from cwd, not cwd/numberstation, when cwd/numberstation/numberstation.gresource exists Export this patch

---
 numberstation/__main__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/numberstation/__main__.py b/numberstation/__main__.py
index 0087f49..b22ad66 100644
--- a/numberstation/__main__.py
+++ b/numberstation/__main__.py
@@ -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")
-- 
2.25.1