From 6a72c2cfb53a93ab2bd47fac856d9cef4479aa50 Mon Sep 17 00:00:00 2001 From: Conor Walker <2089327w@student.gla.ac.uk> Date: Wed, 26 Jan 2022 00:06:37 +0000 Subject: [PATCH] reshuffles --- src/pydle.py | 2 +- src/pydle.spec | 2 +- src/{resource => }/words.txt | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{resource => }/words.txt (100%) diff --git a/src/pydle.py b/src/pydle.py index ad6907b..5c282ed 100644 --- a/src/pydle.py +++ b/src/pydle.py @@ -22,7 +22,7 @@ def resource_path(relative_path): def getWord(): - lines = open(resource_path('resource/words.txt')).read().splitlines() + lines = open(resource_path('words.txt')).read().splitlines() return random.choice(lines) diff --git a/src/pydle.spec b/src/pydle.spec index b040ca0..9e77367 100644 --- a/src/pydle.spec +++ b/src/pydle.spec @@ -7,7 +7,7 @@ block_cipher = None a = Analysis(['pydle.py'], pathex=[], binaries=[], - datas=[('resource/words.txt', '.')], + datas=[('words.txt', '.')], hiddenimports=[], hookspath=[], runtime_hooks=[], diff --git a/src/resource/words.txt b/src/words.txt similarity index 100% rename from src/resource/words.txt rename to src/words.txt