mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-08-28 18:02:33 +00:00
Format code with black and autopep8
This commit fixes the style issues introduced in f1b812c
according to the output
from black and autopep8.
Details: https://deepsource.io/gh/GradienceTeam/Gradience/transform/ff3ee163-e3b3-47ed-8c7e-4940975d1021/
This commit is contained in:
parent
f1b812ce1c
commit
0efcbb3bc3
1 changed files with 5 additions and 4 deletions
|
@ -31,7 +31,8 @@ USER_PLUGIN_DIR = os.path.join(
|
||||||
|
|
||||||
|
|
||||||
class GradiencePluginsList:
|
class GradiencePluginsList:
|
||||||
""" Represent the plugin group in Advanced"""
|
"""Represent the plugin group in Advanced"""
|
||||||
|
|
||||||
def __init__(self, win):
|
def __init__(self, win):
|
||||||
|
|
||||||
self.win = win
|
self.win = win
|
||||||
|
@ -53,7 +54,7 @@ class GradiencePluginsList:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def check_if_plugin_dir_exists():
|
def check_if_plugin_dir_exists():
|
||||||
""" Check if the plugin directory exists, if not, create it """
|
"""Check if the plugin directory exists, if not, create it"""
|
||||||
if not os.path.exists(USER_PLUGIN_DIR):
|
if not os.path.exists(USER_PLUGIN_DIR):
|
||||||
os.makedirs(USER_PLUGIN_DIR)
|
os.makedirs(USER_PLUGIN_DIR)
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue