Skip to content

Commit

Permalink
fix import and remove unneeded init values
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Aug 3, 2024
1 parent d3921e6 commit e867129
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ofscraper/commands/managers/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
import ofscraper.utils.live.screens as progress_utils
import ofscraper.utils.live.updater as progress_updater
from ofscraper.content.post import post_media_process
from ofscraper.commands.utils.strings import avatar_str
import ofscraper.filters.media.main as filters
import ofscraper.models.selector as selector
import ofscraper.utils.args.accessors.areas as areas
import ofscraper.utils.constants as constants
import ofscraper.utils.live.updater as progress_updater
import ofscraper.utils.live.tasks as progress_tasks
from ofscraper.commands.utils.strings import (
area_str,
Expand All @@ -29,10 +26,7 @@
log = logging.getLogger("shared")

class commmandManager():
def __init__(self,user_action=None,user_first_data=None,user_first_execution=None):
self.user_action = user_action
self.user_first_data = user_first_data
self.user_first_execution = user_first_execution
def __init__(self):
pass
def _get_user_action_function(self,funct=None):
funct=self.user_first_execution or funct
Expand Down

0 comments on commit e867129

Please sign in to comment.