From 6fe2881c7b4e8681174af92a6bf9209762b7e146 Mon Sep 17 00:00:00 2001 From: Noiredd Date: Thu, 31 Jan 2019 20:48:44 +0100 Subject: [PATCH] official rename --- {fw-local => filmatyk}/containers.py | 0 {fw-local => filmatyk}/database.py | 0 {fw-local => filmatyk}/defaults.py | 0 {fw-local => filmatyk}/dependency_test.py | 0 {fw-local => filmatyk}/detailviews.py | 0 {fw-local => filmatyk}/filmweb.py | 0 {fw-local => filmatyk}/filters.py | 0 {fw-local => filmatyk}/gui.py | 5 +++-- {fw-local => filmatyk}/posterman.py | 0 {fw-local => filmatyk}/presenter.py | 0 {fw-local => filmatyk}/statview.py | 0 {fw-local => filmatyk}/updater.py | 0 {fw-local => filmatyk}/userdata.py | 0 fw-local.bat | 4 ++-- 14 files changed, 5 insertions(+), 4 deletions(-) rename {fw-local => filmatyk}/containers.py (100%) rename {fw-local => filmatyk}/database.py (100%) rename {fw-local => filmatyk}/defaults.py (100%) rename {fw-local => filmatyk}/dependency_test.py (100%) rename {fw-local => filmatyk}/detailviews.py (100%) rename {fw-local => filmatyk}/filmweb.py (100%) rename {fw-local => filmatyk}/filters.py (100%) rename {fw-local => filmatyk}/gui.py (98%) rename {fw-local => filmatyk}/posterman.py (100%) rename {fw-local => filmatyk}/presenter.py (100%) rename {fw-local => filmatyk}/statview.py (100%) rename {fw-local => filmatyk}/updater.py (100%) rename {fw-local => filmatyk}/userdata.py (100%) diff --git a/fw-local/containers.py b/filmatyk/containers.py similarity index 100% rename from fw-local/containers.py rename to filmatyk/containers.py diff --git a/fw-local/database.py b/filmatyk/database.py similarity index 100% rename from fw-local/database.py rename to filmatyk/database.py diff --git a/fw-local/defaults.py b/filmatyk/defaults.py similarity index 100% rename from fw-local/defaults.py rename to filmatyk/defaults.py diff --git a/fw-local/dependency_test.py b/filmatyk/dependency_test.py similarity index 100% rename from fw-local/dependency_test.py rename to filmatyk/dependency_test.py diff --git a/fw-local/detailviews.py b/filmatyk/detailviews.py similarity index 100% rename from fw-local/detailviews.py rename to filmatyk/detailviews.py diff --git a/fw-local/filmweb.py b/filmatyk/filmweb.py similarity index 100% rename from fw-local/filmweb.py rename to filmatyk/filmweb.py diff --git a/fw-local/filters.py b/filmatyk/filters.py similarity index 100% rename from fw-local/filters.py rename to filmatyk/filters.py diff --git a/fw-local/gui.py b/filmatyk/gui.py similarity index 98% rename from fw-local/gui.py rename to filmatyk/gui.py index bbed346..5d9093a 100644 --- a/fw-local/gui.py +++ b/filmatyk/gui.py @@ -127,12 +127,13 @@ def _cancelClick(self): self.window.withdraw() class Main(object): - filename = 'filmatyk.dat' # will be created in user documents/home directory + filename = 'filmatyk.dat' # will be created in user documents/home directory + wintitle = '{}Filmatyk' # format with debug flag def __init__(self, debugMode=False): self.debugMode = debugMode self.root = root = tk.Tk() - root.title('FW local' + (' DEBUG' if self.debugMode else '')) + root.title(self.wintitle.format('[DEBUG] ' if self.debugMode else '')) # construct the window: first the notebook for tabbed view self.notebook = ttk.Notebook(root) self.notebook.grid(row=0, column=0, padx=5, pady=5, sticky=tk.NW) diff --git a/fw-local/posterman.py b/filmatyk/posterman.py similarity index 100% rename from fw-local/posterman.py rename to filmatyk/posterman.py diff --git a/fw-local/presenter.py b/filmatyk/presenter.py similarity index 100% rename from fw-local/presenter.py rename to filmatyk/presenter.py diff --git a/fw-local/statview.py b/filmatyk/statview.py similarity index 100% rename from fw-local/statview.py rename to filmatyk/statview.py diff --git a/fw-local/updater.py b/filmatyk/updater.py similarity index 100% rename from fw-local/updater.py rename to filmatyk/updater.py diff --git a/fw-local/userdata.py b/filmatyk/userdata.py similarity index 100% rename from fw-local/userdata.py rename to filmatyk/userdata.py diff --git a/fw-local.bat b/fw-local.bat index 648ac8b..b6aa5be 100644 --- a/fw-local.bat +++ b/fw-local.bat @@ -11,7 +11,7 @@ IF %ERRORLEVEL% NEQ 0 ( ) REM First of all, execute the dependency check tool -%pyexe% fw-local\dependency_test.py +%pyexe% filmatyk\dependency_test.py REM If it left a list of packages to install - pass it to pip IF EXIST install.txt ( REM Tester can leave a list of missing packages. In this case - install them, @@ -21,7 +21,7 @@ IF EXIST install.txt ( ) REM Only now trust the dependencies to be satisfied and launch -CD fw-local +CD filmatyk SET command=pythonw gui.py IF [%1]==[] GOTO launch