mirror of
https://codeberg.org/vlw/cloud-backup.git
synced 2025-09-13 17:43:42 +02:00

* wip(22w9a): sql param fix * wip(22w9b): add azure * wip(22w9c): add single item backup * wip(22w10a): add logger * wip(22w11a): add aws support * Update README.md
23 lines
No EOL
395 B
Python
23 lines
No EOL
395 B
Python
import sys
|
|
|
|
from src import Database
|
|
|
|
class Resolve(Database):
|
|
def __init__(self):
|
|
super().__init__()
|
|
|
|
if self.item_exists(sys.argv[1]):
|
|
self.path_to_chksum()
|
|
else:
|
|
self.chksum_to_path()
|
|
|
|
def path_to_chksum(self):
|
|
print("Something")
|
|
|
|
def chksum_to_path(self):
|
|
print("Something else")
|
|
|
|
if len(sys.argv) > 2:
|
|
Resolve()
|
|
else:
|
|
print("Invalid argument length: Need at least two") |